Add presence device_class (#10705)

This commit is contained in:
Alok Saboo 2017-11-21 00:45:00 -05:00 committed by Paulus Schoutsen
parent 6e27e73474
commit 2ba83655bb

View File

@ -32,6 +32,7 @@ DEVICE_CLASSES = [
'opening', # Door, window, etc.
'plug', # On means plugged in, Off means unplugged
'power', # Power, over-current, etc
'presence', # On means home, Off means away
'safety', # Generic on=unsafe, off=safe
'smoke', # Smoke detector
'sound', # On means sound detected, Off means no sound