Skip to content
Snippets Groups Projects
Commit 6dc49df2 authored by Greg Dowling's avatar Greg Dowling
Browse files

Merge pull request #1405 from balloob/wemo_insight_updates

Fix typo in Wemo state_detail attribute.
parents 6512b7d7 b2d32114
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment