mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Remove ghost comment.
This commit is contained in:
parent
bbf8897a51
commit
86973226b1
@ -120,8 +120,6 @@ class WemoSwitch(SwitchDevice):
|
|||||||
"""Is the device on - or in standby."""
|
"""Is the device on - or in standby."""
|
||||||
if self.insight_params:
|
if self.insight_params:
|
||||||
standby_state = self.insight_params['state']
|
standby_state = self.insight_params['state']
|
||||||
# Standby is actually '8' but seems more defensive
|
|
||||||
# to check for the On and Off states
|
|
||||||
if standby_state == WEMO_ON:
|
if standby_state == WEMO_ON:
|
||||||
return STATE_OFF
|
return STATE_OFF
|
||||||
elif standby_state == WEMO_OFF:
|
elif standby_state == WEMO_OFF:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user