From b5d3a4736b3f8efa2c5356f71d9f01d1c98d83c7 Mon Sep 17 00:00:00 2001 From: Adam Mills Date: Wed, 13 Dec 2017 23:02:24 -0500 Subject: [PATCH] Add problem device class (#11130) --- homeassistant/components/binary_sensor/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/binary_sensor/__init__.py b/homeassistant/components/binary_sensor/__init__.py index 9e48a30d04a..a0c141914ed 100644 --- a/homeassistant/components/binary_sensor/__init__.py +++ b/homeassistant/components/binary_sensor/__init__.py @@ -34,6 +34,7 @@ DEVICE_CLASSES = [ 'plug', # On means plugged in, Off means unplugged 'power', # Power, over-current, etc 'presence', # On means home, Off means away + 'problem', # On means there is a problem, Off means the status is OK 'safety', # Generic on=unsafe, off=safe 'smoke', # Smoke detector 'sound', # On means sound detected, Off means no sound