mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add missing device class strings (binary sensor) (#42326)
`battery_charging`, `light`, `moving`, `plug` were missing. Developer documentation was used for states text: https://developers.home-assistant.io/docs/core/entity/binary-sensor
This commit is contained in:
parent
add50cb33a
commit
3187c7cc9d
@ -95,6 +95,10 @@
|
||||
"off": "Normal",
|
||||
"on": "Low"
|
||||
},
|
||||
"battery_charging": {
|
||||
"off": "Not charging",
|
||||
"on": "Charging"
|
||||
},
|
||||
"cold": {
|
||||
"off": "[%key:component::binary_sensor::state::battery::off%]",
|
||||
"on": "Cold"
|
||||
@ -119,6 +123,10 @@
|
||||
"off": "[%key:component::binary_sensor::state::battery::off%]",
|
||||
"on": "Hot"
|
||||
},
|
||||
"light": {
|
||||
"off": "No light",
|
||||
"on": "Light detected"
|
||||
},
|
||||
"lock": {
|
||||
"off": "[%key:common::state::locked%]",
|
||||
"on": "[%key:common::state::unlocked%]"
|
||||
@ -131,6 +139,10 @@
|
||||
"off": "[%key:component::binary_sensor::state::gas::off%]",
|
||||
"on": "[%key:component::binary_sensor::state::gas::on%]"
|
||||
},
|
||||
"moving": {
|
||||
"off": "Not moving",
|
||||
"on": "Moving"
|
||||
},
|
||||
"occupancy": {
|
||||
"off": "[%key:component::binary_sensor::state::gas::off%]",
|
||||
"on": "[%key:component::binary_sensor::state::gas::on%]"
|
||||
@ -139,6 +151,10 @@
|
||||
"off": "[%key:common::state::closed%]",
|
||||
"on": "[%key:common::state::open%]"
|
||||
},
|
||||
"plug": {
|
||||
"off": "Unplugged",
|
||||
"on": "Plugged in"
|
||||
},
|
||||
"presence": {
|
||||
"off": "[%key:component::device_tracker::state::_::not_home%]",
|
||||
"on": "[%key:component::device_tracker::state::_::home%]"
|
||||
|
Loading…
x
Reference in New Issue
Block a user