Fix typo.
This commit is contained in:
1 parent
ddbceebd65
commit
b2d32114c8
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user