mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-05-02 05:32:27 +00:00
Update Switches.md
Action from "Allow confirming switch toggle" https://github.com/house-of-abbey/GarminHomeAssistant/issues/190, make documentation clearer. Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
This commit is contained in:
@ -12,6 +12,19 @@ This is the simplest form:
|
||||
},
|
||||
```
|
||||
|
||||
And with an optional confirmation:
|
||||
|
||||
```json
|
||||
{
|
||||
"entity": "light.exterior",
|
||||
"name": "Exterior Lights",
|
||||
"type": "toggle",
|
||||
"tap_action": {
|
||||
"confirm": 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.
|
||||
|
||||
```yaml
|
||||
|
Reference in New Issue
Block a user