Add the occupancy sensor_class (#3176)

Such a complicated PR
This commit is contained in:
Robbie Trencheny 2016-09-03 21:52:31 -07:00 committed by Teagan Glenn
parent b02b008fe5
commit 4de9717256

View File

@ -27,6 +27,7 @@ SENSOR_CLASSES = [
'moisture', # Specifically a wetness sensor
'motion', # Motion sensor
'moving', # On means moving, Off means stopped
'occupancy', # On means occupied, Off means not occupied
'opening', # Door, window, etc.
'power', # Power, over-current, etc
'safety', # Generic on=unsafe, off=safe