Remove guessing of active_schedule

This commit is contained in:
Tobias Reisinger 2024-05-29 16:05:07 +02:00
parent e3f3f85ef5
commit 69414af9d5
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -1118,10 +1118,17 @@
"$ref": "#/components/schemas/controller_id" "$ref": "#/components/schemas/controller_id"
}, },
"active_schedule": { "active_schedule": {
"$ref": "#/components/schemas/schedule_simple" "nullable": true,
"description": "NULL when unknown (usually because controller is not connected)",
"allOf": [
{
"$ref": "#/components/schemas/schedule_simple"
}
]
}, },
"override_schedule": { "override_schedule": {
"nullable": true, "nullable": true,
"description": "NULL when unknown (usually because controller is not connected)",
"allOf": [ "allOf": [
{ {
"$ref": "#/components/schemas/schedule_simple" "$ref": "#/components/schemas/schedule_simple"
@ -1298,4 +1305,4 @@
} }
} }
} }
} }