From b2d32114c819a7600c6c90924fa5ccc9c51b281c Mon Sep 17 00:00:00 2001 From: pavoni <mail@gregdowling.com> Date: Fri, 26 Feb 2016 08:28:17 +0000 Subject: [PATCH] Fix typo. --- homeassistant/components/switch/wemo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/switch/wemo.py b/homeassistant/components/switch/wemo.py index 5a38e7d20ce..13611f816ca 100644 --- a/homeassistant/components/switch/wemo.py +++ b/homeassistant/components/switch/wemo.py @@ -121,7 +121,7 @@ class WemoSwitch(SwitchDevice): if self.insight_params: standby_state = int(self.insight_params['state']) if standby_state == WEMO_ON: - return STATE_OFF + return STATE_ON elif standby_state == WEMO_OFF: return STATE_OFF elif standby_state == WEMO_STANDBY: -- GitLab