diff --git a/source/behavior/entities/format/behaviors/go_home.json b/source/behavior/entities/format/behaviors/go_home.json index df9016a7..4e3fcf55 100644 --- a/source/behavior/entities/format/behaviors/go_home.json +++ b/source/behavior/entities/format/behaviors/go_home.json @@ -26,23 +26,13 @@ "on_home": { "description": "Event to run when this mob gets home.", "title": "On Home", - "oneOf": [ - { - "$ref": "../types/trigger.json" - }, - { - "type": "array", - "items": { - "$ref": "../types/trigger.json" - } - } - ] + "oneOf": [{ "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }] }, "on_failed": { - "$ref": "../types/event.json", "title": "On Failed", "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" + "$comment": "UNDOCUMENTED", + "oneOf": [{ "$ref": "../types/event.json" }, { "type": "array", "items": { "$ref": "../types/event.json" } }] } }, "examples": [ @@ -51,4 +41,4 @@ "interval": 120 } ] -} \ No newline at end of file +} diff --git a/source/behavior/entities/format/components/block_sensor.json b/source/behavior/entities/format/components/block_sensor.json index 721bc2d0..019e1b56 100644 --- a/source/behavior/entities/format/components/block_sensor.json +++ b/source/behavior/entities/format/components/block_sensor.json @@ -38,6 +38,15 @@ } } } + }, + "sources": { + "title": "Sources", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "type": "array", + "items": { + "$ref": "../../filters/filters.json" + } } }, "examples": [