Add translations for switch state by device class (#139693)

pull/139712/head
Paul Bottein 2025-03-03 20:24:36 +01:00 committed by GitHub
parent 9dc04cb088
commit 07a93dade2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 2 deletions

View File

@ -25,10 +25,18 @@
}
},
"switch": {
"name": "[%key:component::switch::title%]"
"name": "[%key:component::switch::title%]",
"state": {
"off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]"
}
},
"outlet": {
"name": "Outlet"
"name": "Outlet",
"state": {
"off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]"
}
}
},
"services": {