Skip to content

Commit

Permalink
Add presence device_class (#10705)
Browse files Browse the repository at this point in the history
  • Loading branch information
arsaboo authored and balloob committed Nov 21, 2017
1 parent 6e27e73 commit 2ba8365
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 @@ -32,6 +32,7 @@
'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
Expand Down

0 comments on commit 2ba8365

Please sign in to comment.