Add more state references to shelly (#142716)

- replace "Normal" with common state
- replace `self_test` state attributes with references
This commit is contained in:
Norbert Rittel 2025-04-11 15:39:44 +02:00 committed by GitHub
parent f42f698dbc
commit a4234bf80e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -175,16 +175,16 @@
"operation": {
"state": {
"warmup": "Warm-up",
"normal": "Normal",
"normal": "[%key:common::state::normal%]",
"fault": "Fault"
},
"state_attributes": {
"self_test": {
"state": {
"not_completed": "Not completed",
"completed": "Completed",
"running": "Running",
"pending": "Pending"
"not_completed": "[%key:component::shelly::entity::sensor::self_test::state::not_completed%]",
"completed": "[%key:component::shelly::entity::sensor::self_test::state::completed%]",
"running": "[%key:component::shelly::entity::sensor::self_test::state::running%]",
"pending": "[%key:component::shelly::entity::sensor::self_test::state::pending%]"
}
}
}