mirror of
https://github.com/home-assistant/core.git
synced 2026-02-21 18:38:17 +00:00
50 lines
990 B
JSON
50 lines
990 B
JSON
{
|
|
"conditions": {
|
|
"is_off": {
|
|
"condition": "mdi:toggle-switch-variant-off"
|
|
},
|
|
"is_on": {
|
|
"condition": "mdi:toggle-switch-variant"
|
|
}
|
|
},
|
|
"entity_component": {
|
|
"_": {
|
|
"default": "mdi:toggle-switch-variant",
|
|
"state": {
|
|
"off": "mdi:toggle-switch-variant-off"
|
|
}
|
|
},
|
|
"outlet": {
|
|
"default": "mdi:power-plug",
|
|
"state": {
|
|
"off": "mdi:power-plug-off"
|
|
}
|
|
},
|
|
"switch": {
|
|
"default": "mdi:toggle-switch-variant",
|
|
"state": {
|
|
"off": "mdi:toggle-switch-variant-off"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"toggle": {
|
|
"service": "mdi:toggle-switch-variant"
|
|
},
|
|
"turn_off": {
|
|
"service": "mdi:toggle-switch-variant-off"
|
|
},
|
|
"turn_on": {
|
|
"service": "mdi:toggle-switch-variant"
|
|
}
|
|
},
|
|
"triggers": {
|
|
"turned_off": {
|
|
"trigger": "mdi:toggle-switch-variant-off"
|
|
},
|
|
"turned_on": {
|
|
"trigger": "mdi:toggle-switch-variant"
|
|
}
|
|
}
|
|
}
|