Skip to content

Commit

Permalink
Addition of new binary sensor class 'plug' (#10336)
Browse files Browse the repository at this point in the history
* Addition of new binary sensor class 'plug'

* use term "unplugged"

* add the entry to the right place
  • Loading branch information
echox authored and balloob committed Nov 5, 2017
1 parent c07e651 commit 5d45146
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/binary_sensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
'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
Expand Down

0 comments on commit 5d45146

Please sign in to comment.