Use common state for "Auto", fix sentence-casing in demo (#142934)

This commit is contained in:
Norbert Rittel 2025-04-14 18:41:20 +02:00 committed by GitHub
parent 82efa0893f
commit 23844c0f1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,10 +28,10 @@
"state_attributes": { "state_attributes": {
"fan_mode": { "fan_mode": {
"state": { "state": {
"auto_high": "Auto High", "auto_high": "Auto high",
"auto_low": "Auto Low", "auto_low": "Auto low",
"on_high": "On High", "on_high": "On high",
"on_low": "On Low" "on_low": "On low"
} }
}, },
"swing_mode": { "swing_mode": {
@ -39,14 +39,14 @@
"1": "1", "1": "1",
"2": "2", "2": "2",
"3": "3", "3": "3",
"auto": "Auto", "auto": "[%key:common::state::auto%]",
"off": "[%key:common::state::off%]" "off": "[%key:common::state::off%]"
} }
}, },
"swing_horizontal_mode": { "swing_horizontal_mode": {
"state": { "state": {
"rangefull": "Full range", "rangefull": "Full range",
"auto": "Auto", "auto": "[%key:common::state::auto%]",
"off": "[%key:common::state::off%]" "off": "[%key:common::state::off%]"
} }
} }
@ -58,7 +58,7 @@
"state_attributes": { "state_attributes": {
"preset_mode": { "preset_mode": {
"state": { "state": {
"auto": "[%key:component::climate::entity_component::_::state_attributes::fan_mode::state::auto%]", "auto": "[%key:common::state::auto%]",
"sleep": "[%key:component::climate::entity_component::_::state_attributes::preset_mode::state::sleep%]", "sleep": "[%key:component::climate::entity_component::_::state_attributes::preset_mode::state::sleep%]",
"smart": "Smart", "smart": "Smart",
"on": "[%key:common::state::on%]" "on": "[%key:common::state::on%]"
@ -92,9 +92,9 @@
"select": { "select": {
"speed": { "speed": {
"state": { "state": {
"light_speed": "Light Speed", "light_speed": "Light speed",
"ludicrous_speed": "Ludicrous Speed", "ludicrous_speed": "Ludicrous speed",
"ridiculous_speed": "Ridiculous Speed" "ridiculous_speed": "Ridiculous speed"
} }
} }
}, },
@ -113,7 +113,7 @@
"model_s": { "model_s": {
"state_attributes": { "state_attributes": {
"cleaned_area": { "cleaned_area": {
"name": "Cleaned Area" "name": "Cleaned area"
} }
} }
} }