mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 22:25:13 +02:00
Fix typos
This commit is contained in:
@@ -79,9 +79,9 @@ class WemoSwitch(SwitchDevice):
|
|||||||
if self.insight_params:
|
if self.insight_params:
|
||||||
standby_state = self.insight_params['standby_state']
|
standby_state = self.insight_params['standby_state']
|
||||||
# Standby is actually '8' but seems more defensive to check for the On and Off states
|
# Standby is actually '8' but seems more defensive to check for the On and Off states
|
||||||
if standby_state == '1' or standby_state == '0'
|
if standby_state == '1' or standby_state == '0':
|
||||||
return False
|
return False
|
||||||
else
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Reference in New Issue
Block a user