Add problem device class (#11130)

pull/11136/head
Adam Mills 2017-12-13 23:02:24 -05:00 committed by Paulus Schoutsen
parent e627544479
commit b5d3a4736b
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ DEVICE_CLASSES = [
'plug', # On means plugged in, Off means unplugged 'plug', # On means plugged in, Off means unplugged
'power', # Power, over-current, etc 'power', # Power, over-current, etc
'presence', # On means home, Off means away 'presence', # On means home, Off means away
'problem', # On means there is a problem, Off means the status is OK
'safety', # Generic on=unsafe, off=safe 'safety', # Generic on=unsafe, off=safe
'smoke', # Smoke detector 'smoke', # Smoke detector
'sound', # On means sound detected, Off means no sound 'sound', # On means sound detected, Off means no sound