mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +00:00
Define textual state for connectivity device_class (#740)
* Define textual state for connectivity device_class Define textual state for connectivity `device_class` for `binary_sensor`. Without this addition, a `binary_sensor` using the connectivity `device_class` is simply shown as `Off` or `On`. The icon does change but only if the user hasn't defined a custom icon. * Change wording Change `Offline`/`Online` to `Disconnected`/`Connected`
This commit is contained in:
parent
1aa1ac709d
commit
af8f77779b
@ -83,6 +83,10 @@
|
|||||||
"off": "Normal",
|
"off": "Normal",
|
||||||
"on": "Low"
|
"on": "Low"
|
||||||
},
|
},
|
||||||
|
"connectivity": {
|
||||||
|
"off": "Disconnected",
|
||||||
|
"on": "Connected"
|
||||||
|
},
|
||||||
"gas": {
|
"gas": {
|
||||||
"off": "Clear",
|
"off": "Clear",
|
||||||
"on": "Detected"
|
"on": "Detected"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user