diff --git a/homeassistant/components/switch/wemo.py b/homeassistant/components/switch/wemo.py index 5eac5a14ed5112eb2709840d7abea6b0852290af..5a38e7d20ce0ed73b77cd309351f3e024ca698af 100644 --- a/homeassistant/components/switch/wemo.py +++ b/homeassistant/components/switch/wemo.py @@ -119,7 +119,7 @@ class WemoSwitch(SwitchDevice): def detail_state(self): """Is the device on - or in standby.""" if self.insight_params: - standby_state = self.insight_params['state'] + standby_state = int(self.insight_params['state']) if standby_state == WEMO_ON: return STATE_OFF elif standby_state == WEMO_OFF: