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