mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
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:
parent
c07e651013
commit
5d4514652d
@ -30,6 +30,7 @@ DEVICE_CLASSES = [
|
|||||||
'moving', # On means moving, Off means stopped
|
'moving', # On means moving, Off means stopped
|
||||||
'occupancy', # On means occupied, Off means not occupied
|
'occupancy', # On means occupied, Off means not occupied
|
||||||
'opening', # Door, window, etc.
|
'opening', # Door, window, etc.
|
||||||
|
'plug', # On means plugged in, Off means unplugged
|
||||||
'power', # Power, over-current, etc
|
'power', # Power, over-current, etc
|
||||||
'safety', # Generic on=unsafe, off=safe
|
'safety', # Generic on=unsafe, off=safe
|
||||||
'smoke', # Smoke detector
|
'smoke', # Smoke detector
|
||||||
|
Loading…
x
Reference in New Issue
Block a user