Use common states for battery sensor in withings (#142043)

Use common states for battery level in `withings`
This commit is contained in:
Norbert Rittel 2025-04-02 19:50:55 +02:00 committed by GitHub
parent a7be9e6643
commit 2601217209
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -313,9 +313,9 @@
"battery": { "battery": {
"name": "[%key:component::sensor::entity_component::battery::name%]", "name": "[%key:component::sensor::entity_component::battery::name%]",
"state": { "state": {
"low": "Low", "low": "[%key:common::state::low%]",
"medium": "Medium", "medium": "[%key:common::state::medium%]",
"high": "High" "high": "[%key:common::state::high%]"
} }
} }
} }