mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Add device class for low battery (#10829)
This commit is contained in:
parent
1f82bb033d
commit
4e4d4365a0
@ -20,6 +20,7 @@ SCAN_INTERVAL = timedelta(seconds=30)
|
|||||||
|
|
||||||
ENTITY_ID_FORMAT = DOMAIN + '.{}'
|
ENTITY_ID_FORMAT = DOMAIN + '.{}'
|
||||||
DEVICE_CLASSES = [
|
DEVICE_CLASSES = [
|
||||||
|
'battery', # On means low, Off means normal
|
||||||
'cold', # On means cold (or too cold)
|
'cold', # On means cold (or too cold)
|
||||||
'connectivity', # On means connection present, Off = no connection
|
'connectivity', # On means connection present, Off = no connection
|
||||||
'gas', # CO, CO2, etc.
|
'gas', # CO, CO2, etc.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user