Created & applied new event_object type (#109)

Created new event type.
some components only allow for an event to be an object, not a string
Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
This commit is contained in:
ChibiMango
2022-08-22 19:13:13 +01:00
committed by GitHub
parent 3f980980ee
commit 534d77c389
20 changed files with 47 additions and 30 deletions

View File

@@ -7,12 +7,12 @@
"required": [],
"properties": {
"sit_event": {
"$ref": "../types/event.json",
"$ref": "../types/event_object.json",
"description": "Event to run when the entity enters the `sit` state.",
"title": "Sit Event"
},
"stand_event": {
"$ref": "../types/event.json",
"$ref": "../types/event_object.json",
"description": "Event to run when the entity exits the `sit` state.",
"title": "Stand Event"
}