mirror of
https://github.com/home-assistant/core.git
synced 2026-05-18 22:40:15 +01:00
8dd35cb129
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com> Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com> Co-authored-by: abmantis <amfcalt@gmail.com> Co-authored-by: Bram Kragten <mail@bramkragten.nl> Co-authored-by: Franck Nijhof <git@frenck.dev> Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
46 lines
807 B
JSON
46 lines
807 B
JSON
{
|
|
"conditions": {
|
|
"is_off": {
|
|
"condition": "mdi:lightbulb-off"
|
|
},
|
|
"is_on": {
|
|
"condition": "mdi:lightbulb-on"
|
|
}
|
|
},
|
|
"entity_component": {
|
|
"_": {
|
|
"default": "mdi:lightbulb",
|
|
"state": {
|
|
"off": "mdi:lightbulb-off"
|
|
},
|
|
"state_attributes": {
|
|
"effect": {
|
|
"default": "mdi:circle-medium",
|
|
"state": {
|
|
"off": "mdi:star-off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"toggle": {
|
|
"service": "mdi:lightbulb"
|
|
},
|
|
"turn_off": {
|
|
"service": "mdi:lightbulb-off"
|
|
},
|
|
"turn_on": {
|
|
"service": "mdi:lightbulb-on"
|
|
}
|
|
},
|
|
"triggers": {
|
|
"turned_off": {
|
|
"trigger": "mdi:lightbulb-off"
|
|
},
|
|
"turned_on": {
|
|
"trigger": "mdi:lightbulb-on"
|
|
}
|
|
}
|
|
}
|