From 54dd09df29cfb2e15fd1956fc0bb0430713d9239 Mon Sep 17 00:00:00 2001 From: pavoni Date: Mon, 31 Aug 2015 12:13:53 +0100 Subject: [PATCH] Fix typos --- homeassistant/components/switch/wemo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/switch/wemo.py b/homeassistant/components/switch/wemo.py index 4c6cd2ed4d8..026b20f4c5a 100644 --- a/homeassistant/components/switch/wemo.py +++ b/homeassistant/components/switch/wemo.py @@ -79,9 +79,9 @@ class WemoSwitch(SwitchDevice): if self.insight_params: standby_state = self.insight_params['standby_state'] # Standby is actually '8' but seems more defensive to check for the On and Off states - if standby_state == '1' or standby_state == '0' + if standby_state == '1' or standby_state == '0': return False - else + else: return True @property