From 3184721412ca15a30b6b4a7b15541bca1f8e199e Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Wed, 1 Feb 2017 21:59:55 +0100 Subject: [PATCH] change unreach --- homeassistant/components/homematic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/homematic.py b/homeassistant/components/homematic.py index f5a37920224..e777cecd70e 100644 --- a/homeassistant/components/homematic.py +++ b/homeassistant/components/homematic.py @@ -778,7 +778,7 @@ class HMDevice(Entity): have_change = True # If available it has changed - if attribute is 'UNREACH': + if attribute == 'UNREACH': self._available = bool(value) have_change = True