Add default string and icon for light effect off (#141567)

This commit is contained in:
Joost Lekkerkerker 2025-03-28 11:48:34 +01:00 committed by Franck Nijhof
parent e795fb9497
commit 5c8e415a76
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
2 changed files with 13 additions and 2 deletions

View File

@ -1,7 +1,15 @@
{ {
"entity_component": { "entity_component": {
"_": { "_": {
"default": "mdi:lightbulb" "default": "mdi:lightbulb",
"state_attributes": {
"effect": {
"default": "mdi:circle-medium",
"state": {
"off": "mdi:star-off"
}
}
}
} }
}, },
"services": { "services": {

View File

@ -93,7 +93,10 @@
"name": "Color temperature (Kelvin)" "name": "Color temperature (Kelvin)"
}, },
"effect": { "effect": {
"name": "Effect" "name": "Effect",
"state": {
"off": "[%key:common::state::off%]"
}
}, },
"effect_list": { "effect_list": {
"name": "Available effects" "name": "Available effects"