mirror of
https://github.com/home-assistant/core.git
synced 2025-05-29 02:07:09 +00:00
Add presence device_class (#10705)
This commit is contained in:
parent
6e27e73474
commit
2ba83655bb
@ -32,6 +32,7 @@ DEVICE_CLASSES = [
|
||||
'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
|
||||
|
Loading…
x
Reference in New Issue
Block a user