mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Remove parenthesis
This commit is contained in:
parent
b534244e40
commit
d6eab03a61
@ -138,10 +138,9 @@ class WemoSwitch(SwitchDevice):
|
|||||||
@property
|
@property
|
||||||
def available(self):
|
def available(self):
|
||||||
"""True if switch is available."""
|
"""True if switch is available."""
|
||||||
if (self.wemo.model_name == 'Insight' and self.insight_params is None):
|
if self.wemo.model_name == 'Insight' and self.insight_params is None:
|
||||||
return False
|
return False
|
||||||
|
if self.wemo.model_name == 'Maker' and self.maker_params is None:
|
||||||
if (self.wemo.model_name == 'Maker' and self.maker_params is None):
|
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user