Skip to content
Snippets Groups Projects
Unverified Commit 3187c7cc authored by Oncleben31's avatar Oncleben31 Committed by GitHub
Browse files

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
parent add50cb3
No related branches found
No related tags found
No related merge requests found
......@@ -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%]"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment