Add connectivity to sensor classes
parent
d8121ed8b2
commit
2db49ebca5
|
@ -17,20 +17,21 @@ SCAN_INTERVAL = 30
|
||||||
|
|
||||||
ENTITY_ID_FORMAT = DOMAIN + '.{}'
|
ENTITY_ID_FORMAT = DOMAIN + '.{}'
|
||||||
SENSOR_CLASSES = [
|
SENSOR_CLASSES = [
|
||||||
None, # Generic on/off
|
None, # Generic on/off
|
||||||
'opening', # Door, window, etc
|
'cold', # On means cold (or too cold)
|
||||||
'motion', # Motion sensor
|
'connectivity', # On means connection present, Off = no connection
|
||||||
'gas', # CO, CO2, etc
|
'gas', # CO, CO2, etc.
|
||||||
'smoke', # Smoke detector
|
'heat', # On means hot (or too hot)
|
||||||
'moisture', # Specifically a wetness sensor
|
'light', # Lightness threshold
|
||||||
'light', # Lightness threshold
|
'moisture', # Specifically a wetness sensor
|
||||||
'power', # Power, over-current, etc
|
'motion', # Motion sensor
|
||||||
'safety', # Generic on=unsafe, off=safe
|
'moving', # On means moving, Off means stopped
|
||||||
'heat', # On means hot (or too hot)
|
'opening', # Door, window, etc.
|
||||||
'cold', # On means cold (or too cold)
|
'power', # Power, over-current, etc
|
||||||
'moving', # On means moving, Off means stopped
|
'safety', # Generic on=unsafe, off=safe
|
||||||
'sound', # On means sound detected, Off means no sound
|
'smoke', # Smoke detector
|
||||||
'vibration', # On means vibration detected, Off means no vibration
|
'sound', # On means sound detected, Off means no sound
|
||||||
|
'vibration', # On means vibration detected, Off means no vibration
|
||||||
]
|
]
|
||||||
|
|
||||||
# Maps discovered services to their platforms
|
# Maps discovered services to their platforms
|
||||||
|
|
Loading…
Reference in New Issue