removedInput schema / $defs / SetDayRestrictionsInput
Removed value: -{
- "additionalProperties": false,
- "description": "Input model for setting per-day-of-week restrictions.",
- "properties": {
- "bedtime_alarm_hour": {
- "anyOf": [
- {
- "maximum": 23,
- "minimum": 16,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Hour for the bedtime alarm (16-23). Required if bedtime_enabled is true.",
- "title": "Bedtime Alarm Hour"
- },
- "bedtime_alarm_minute": {
- "anyOf": [
- {
- "maximum": 59,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0,
- "description": "Minute for the bedtime alarm (0-59).",
- "title": "Bedtime Alarm Minute"
- },
- "bedtime_enabled": {
- "description": "Whether to enable bedtime restrictions for this day.",
- "title": "Bedtime Enabled",
- "type": "boolean"
- },
- "bedtime_end_hour": {
- "anyOf": [
- {
- "maximum": 9,
- "minimum": 5,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Hour when bedtime ends / device can be used again (5-9). Required if bedtime_enabled is true.",
- "title": "Bedtime End Hour"
- },
- "bedtime_end_minute": {
- "anyOf": [
- {
- "maximum": 59,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": 0,
- "description": "Minute when bedtime ends (0-59).",
- "title": "Bedtime End Minute"
- },
- "day_of_week": {
- "$ref": "#/$defs/DayOfWeek",
- "description": "Day of the week to configure (e.g. 'MONDAY')."
- },
- "device_id": {
- "description": "The unique device ID. Use switch_list_devices to find it.",
- "title": "Device Id",
- "type": "string"
- },
- "max_playtime_minutes": {
- "anyOf": [
- {
- "maximum": 360,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Maximum playtime in minutes for this day (0-360). Required if playtime_enabled is true.",
- "title": "Max Playtime Minutes"
- },
- "playtime_enabled": {
- "description": "Whether to enable a playtime limit for this day.",
- "title": "Playtime Enabled",
- "type": "boolean"
- }
- },
- "required": [
- "device_id",
- "day_of_week",
- "playtime_enabled",
- "bedtime_enabled"
- ],
- "title": "SetDayRestrictionsInput",
- "type": "object"
-}
addedInput schema / properties / bedtime_alarm_hour
Added value: +{
+ "anyOf": [
+ {
+ "maximum": 23,
+ "minimum": 16,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Hour for the bedtime alarm (16-23). Required if bedtime_enabled is true.",
+ "title": "Bedtime Alarm Hour"
+}
addedInput schema / properties / bedtime_alarm_minute
Added value: +{
+ "anyOf": [
+ {
+ "maximum": 59,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0,
+ "description": "Minute for the bedtime alarm (0-59).",
+ "title": "Bedtime Alarm Minute"
+}
addedInput schema / properties / bedtime_enabled
Added value: +{
+ "description": "Whether to enable bedtime restrictions for this day.",
+ "title": "Bedtime Enabled",
+ "type": "boolean"
+}
addedInput schema / properties / bedtime_end_hour
Added value: +{
+ "anyOf": [
+ {
+ "maximum": 9,
+ "minimum": 5,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Hour when bedtime ends / device can be used again (5-9). Required if bedtime_enabled is true.",
+ "title": "Bedtime End Hour"
+}
addedInput schema / properties / bedtime_end_minute
Added value: +{
+ "anyOf": [
+ {
+ "maximum": 59,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": 0,
+ "description": "Minute when bedtime ends (0-59).",
+ "title": "Bedtime End Minute"
+}
addedInput schema / properties / day_of_week
Added value: +{
+ "$ref": "#/$defs/DayOfWeek",
+ "description": "Day of the week to configure (e.g. 'MONDAY')."
+}
addedInput schema / properties / device_id
Added value: +{
+ "description": "The unique device ID. Use switch_list_devices to find it.",
+ "title": "Device Id",
+ "type": "string"
+}
addedInput schema / properties / max_playtime_minutes
Added value: +{
+ "anyOf": [
+ {
+ "maximum": 360,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Maximum playtime in minutes for this day (0-360). Required if playtime_enabled is true.",
+ "title": "Max Playtime Minutes"
+}
removedInput schema / properties / params
Removed value: -{
- "$ref": "#/$defs/SetDayRestrictionsInput"
-}
addedInput schema / properties / playtime_enabled
Added value: +{
+ "description": "Whether to enable a playtime limit for this day.",
+ "title": "Playtime Enabled",
+ "type": "boolean"
+}
changedInput schema / required
Previous value: -[
- "params"
-]New value: +[
+ "device_id",
+ "day_of_week",
+ "playtime_enabled",
+ "bedtime_enabled"
+]