From 12bdc392749c4faf1f2ea584d4335b9d816e3c69 Mon Sep 17 00:00:00 2001 From: happyleaves Date: Sun, 15 Nov 2015 08:58:15 -0500 Subject: [PATCH] don't update state in turn_on/off --- homeassistant/components/switch/orvibo.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/homeassistant/components/switch/orvibo.py b/homeassistant/components/switch/orvibo.py index f53b131eabf..c72c96e27bc 100644 --- a/homeassistant/components/switch/orvibo.py +++ b/homeassistant/components/switch/orvibo.py @@ -64,7 +64,6 @@ class S20Switch(SwitchDevice): """ Turn the device on. """ try: self._s20.on = True - self._state = True except S20Exception: _LOGGER.exception("Error while turning on S20") @@ -72,6 +71,5 @@ class S20Switch(SwitchDevice): """ Turn the device off. """ try: self._s20.on = False - self._state = False except S20Exception: _LOGGER.exception("Error while turning off S20")