adjust docs

This commit is contained in:
Matthias Oesterheld
2024-11-13 22:10:24 +01:00
parent 97b5371a0e
commit f51197ff75
5 changed files with 38 additions and 6 deletions

View File

@ -22,7 +22,20 @@ And with an optional confirmation:
"tap_action": {
"confirm": true
}
},
}
```
or an optional PIN confirmation:
```json
{
"entity": "light.exterior",
"name": "Exterior Lights",
"type": "toggle",
"tap_action": {
"pin": true
}
}
```
To support a non-standard light, switch, or automation as a toggle menu item you may like to define a custom switch. In order to facilitate custom switches at this time, you must create a template switch in HomeAssistant.