From d2d421ca8ffbcbb015a7f2d3c1cd18e5ae576da4 Mon Sep 17 00:00:00 2001 From: pavoni Date: Wed, 20 Jan 2016 20:02:03 +0000 Subject: [PATCH] Remove ghost debug code. --- homeassistant/components/switch/wemo.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/switch/wemo.py b/homeassistant/components/switch/wemo.py index 72631244ea1..d828e23464c 100644 --- a/homeassistant/components/switch/wemo.py +++ b/homeassistant/components/switch/wemo.py @@ -99,7 +99,6 @@ class WemoSwitch(SwitchDevice): attr = super().state_attributes or {} if self.maker_params: # Is the maker sensor on or off. - if self.entity_id == 'switch.hi_fi_systemline_sensor': if self.maker_params['hassensor']: # Note a state of 1 matches the WeMo app 'not triggered'! if self.maker_params['sensorstate']: