Add a few more sensor classes
This adds hot, cold, and moving sensor_class values for things that we may want to support.pull/1383/head
parent
49e588deb3
commit
eb5f208a09
|
@ -26,6 +26,9 @@ SENSOR_CLASSES = [
|
||||||
'light', # Lightness threshold
|
'light', # Lightness threshold
|
||||||
'power', # Power, over-current, etc
|
'power', # Power, over-current, etc
|
||||||
'safety', # Generic on=unsafe, off=safe
|
'safety', # Generic on=unsafe, off=safe
|
||||||
|
'heat', # On means hot (or too hot)
|
||||||
|
'cold', # On means cold (or too cold)
|
||||||
|
'moving', # On means moving, Off means stopped
|
||||||
]
|
]
|
||||||
|
|
||||||
# Maps discovered services to their platforms
|
# Maps discovered services to their platforms
|
||||||
|
|
Loading…
Reference in New Issue