Improve macro-execute function and simplify schedule in macro action
This commit is contained in:
parent
11e1a51a2a
commit
d76bf0f711
2 changed files with 56 additions and 32 deletions
10
api.v1.json
10
api.v1.json
|
|
@ -1116,14 +1116,14 @@
|
|||
"$ref": "#/components/schemas/controller_id"
|
||||
},
|
||||
"active_schedule": {
|
||||
"$ref": "#/components/schemas/schedule-untagged"
|
||||
"$ref": "#/components/schemas/schedule_simple"
|
||||
},
|
||||
"schedules": {
|
||||
"type": "array",
|
||||
"maxItems": 7,
|
||||
"minItems": 7,
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/schedule-untagged"
|
||||
"$ref": "#/components/schemas/schedule_simple"
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
|
|
@ -1139,8 +1139,8 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"schedule-untagged": {
|
||||
"title": "schedule",
|
||||
"schedule_simple": {
|
||||
"title": "schedule (simple)",
|
||||
"type": "object",
|
||||
"description": "",
|
||||
"properties": {
|
||||
|
|
@ -1274,7 +1274,7 @@
|
|||
"maximum": 6
|
||||
},
|
||||
"schedule": {
|
||||
"$ref": "#/components/schemas/schedule"
|
||||
"$ref": "#/components/schemas/schedule_simple"
|
||||
},
|
||||
"relay": {
|
||||
"$ref": "#/components/schemas/relay"
|
||||
|
|
|
|||
Loading…
Reference in a new issue