Remove ghost debug code.

This commit is contained in:
pavoni 2016-01-20 20:02:03 +00:00
parent 7ad5b3a17b
commit d2d421ca8f

View file

@ -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']: