From f930036be3a9b033716f5fdffd77cd64096713ec Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 15 Dec 2025 06:15:55 +0000 Subject: [PATCH] Update json/doorState.json --- json/doorState.json | 61 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 json/doorState.json diff --git a/json/doorState.json b/json/doorState.json new file mode 100644 index 00000000..90d34dc5 --- /dev/null +++ b/json/doorState.json @@ -0,0 +1,61 @@ +{ + "id": "doorState", + "version": 1, + "status": "proposed", + "name": "Door State", + "ephemeral": false, + "attributes": { + "doorState": { + "schema": { + "type": "object", + "properties": { + "value": { + "title": "DoorState", + "type": "string", + "enum": [ + "open", + "closed", + "jammed", + "forcedOpen", + "unspecifiedError", + "ajar" + ] + } + }, + "additionalProperties": false, + "required": [ + "value" + ] + }, + "enumCommands": [] + }, + "supportedDoorStates": { + "schema": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "title": "DoorState", + "type": "string", + "enum": [ + "open", + "closed", + "jammed", + "forcedOpen", + "unspecifiedError", + "ajar" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "value" + ] + }, + "enumCommands": [] + } + }, + "commands": {} +} \ No newline at end of file