mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Merge pull request #1405 from balloob/wemo_insight_updates
Fix typo in Wemo state_detail attribute.
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user