From b866687cd794266f9b82794e3a77016c82381d53 Mon Sep 17 00:00:00 2001 From: CTLS Date: Wed, 20 Dec 2017 23:29:42 -0600 Subject: [PATCH] Fix inverted sensors on the concord232 binary sensor component (#11261) * Fix inverted sensors on the concord232 binary sensor component * Changed from == Tripped to != Normal --- homeassistant/components/binary_sensor/concord232.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/binary_sensor/concord232.py b/homeassistant/components/binary_sensor/concord232.py index 7ba88f76611..d689f030d8a 100755 --- a/homeassistant/components/binary_sensor/concord232.py +++ b/homeassistant/components/binary_sensor/concord232.py @@ -118,7 +118,7 @@ class Concord232ZoneSensor(BinarySensorDevice): def is_on(self): """Return true if the binary sensor is on.""" # True means "faulted" or "open" or "abnormal state" - return bool(self._zone['state'] == 'Normal') + return bool(self._zone['state'] != 'Normal') def update(self): """Get updated stats from API."""