Use common state for "Paused" and "Unplugged" / "Plugged in" from binary sensor (#141908)

Use common state for "Paused" and "Unplugged" / "Plugged" from `binary sensor`
This commit is contained in:
Norbert Rittel 2025-03-31 13:18:12 +02:00 committed by GitHub
parent 05a5b8cdf0
commit d669dd45cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,7 +89,7 @@
"state": {
"smart_charge": "Smart charge",
"max_charge": "Max charge",
"paused": "Paused"
"paused": "[%key:common::state::paused%]"
}
},
"vehicle": {
@ -100,8 +100,8 @@
"status": {
"name": "Status",
"state": {
"unplugged": "Unplugged",
"plugged_in": "Plugged in",
"unplugged": "[%key:component::binary_sensor::entity_component::plug::state::off%]",
"plugged_in": "[%key:component::binary_sensor::entity_component::plug::state::on%]",
"charging": "[%key:common::state::charging%]",
"paused": "[%key:common::state::paused%]",
"pending_approval": "Pending approval",