From 391eeb229882870a1c2311c820cc910890b35d9d Mon Sep 17 00:00:00 2001 From: Li Zhineng Date: Tue, 22 Jul 2025 08:01:28 +0800 Subject: first commit --- config.schema.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 config.schema.json (limited to 'config.schema.json') diff --git a/config.schema.json b/config.schema.json new file mode 100644 index 0000000..f53abf7 --- /dev/null +++ b/config.schema.json @@ -0,0 +1,38 @@ +{ + "pluginAlias": "Airmx", + "pluginType": "platform", + "singular": true, + "schema": { + "type": "object", + "properties": { + "mqtt": { + "title": "MQTT Broker URL", + "type": "string", + "placeholder": "mqtt://192.168.10.10", + "required": true + }, + "devices": { + "title": "Devices", + "type": "array", + "items": { + "title": "Device", + "type": "object", + "properties": { + "id": { + "title": "ID", + "type": "number", + "placeholder": "12345", + "required": true + }, + "key": { + "title": "Key", + "type": "string", + "placeholder": "XOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXO", + "required": true + } + } + } + } + } + } +} -- cgit v1.2.3