Addition of new binary sensor class 'plug' (#10336)

* Addition of new binary sensor class 'plug'

* use term "unplugged"

* add the entry to the right place
This commit is contained in:
Simon 2017-11-05 19:25:44 +01:00 committed by Paulus Schoutsen
parent c07e651013
commit 5d4514652d

View File

@ -30,6 +30,7 @@ DEVICE_CLASSES = [
'moving', # On means moving, Off means stopped
'occupancy', # On means occupied, Off means not occupied
'opening', # Door, window, etc.
'plug', # On means plugged in, Off means unplugged
'power', # Power, over-current, etc
'safety', # Generic on=unsafe, off=safe
'smoke', # Smoke detector