Skip to content
Snippets Groups Projects
Commit b2d32114 authored by pavoni's avatar pavoni
Browse files

Fix typo.

parent ddbceebd
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,7 @@ class WemoSwitch(SwitchDevice): ...@@ -121,7 +121,7 @@ class WemoSwitch(SwitchDevice):
if self.insight_params: if self.insight_params:
standby_state = int(self.insight_params['state']) standby_state = int(self.insight_params['state'])
if standby_state == WEMO_ON: if standby_state == WEMO_ON:
return STATE_OFF return STATE_ON
elif standby_state == WEMO_OFF: elif standby_state == WEMO_OFF:
return STATE_OFF return STATE_OFF
elif standby_state == WEMO_STANDBY: 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