From d6eab03a610ba3b70b17e1baf674adcf6d8e6e37 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 8 Mar 2016 18:05:01 +0100 Subject: [PATCH] Remove parenthesis --- homeassistant/components/switch/wemo.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/switch/wemo.py b/homeassistant/components/switch/wemo.py index f8b48950873..90d0f46ba68 100644 --- a/homeassistant/components/switch/wemo.py +++ b/homeassistant/components/switch/wemo.py @@ -138,10 +138,9 @@ class WemoSwitch(SwitchDevice): @property def available(self): """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 - - 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 True