Changes required for 2-tap-or-toggle-dont-work-on-venu-2

Made the 'service' field for taps mandatory.
This makes scripts work for both the emulator and real devices.
Provide a response for automations started with a tap, and now they can be used for both tap and toggle.
This commit is contained in:
Philip Abbey
2023-11-14 08:35:38 +00:00
parent c57324f7ad
commit 2ccd2bfbff
3 changed files with 47 additions and 29 deletions

View File

@ -26,7 +26,7 @@
"type": { "const": "tap" },
"service": { "$ref": "#/$defs/entity" }
},
"required": ["entity", "name", "type"],
"required": ["entity", "name", "type", "service"],
"additionalProperties": false
},
"menu": {