From a75833cf2b97ee52031b99d77e52f7df6d233b2d Mon Sep 17 00:00:00 2001 From: pavoni Date: Fri, 19 Feb 2016 16:41:05 +0000 Subject: [PATCH] Remove debug. --- homeassistant/components/automation/state.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/homeassistant/components/automation/state.py b/homeassistant/components/automation/state.py index 7d07034fa43..2ddc0822cc9 100644 --- a/homeassistant/components/automation/state.py +++ b/homeassistant/components/automation/state.py @@ -70,8 +70,6 @@ def trigger(hass, config, action): def state_for_cancel_listener(entity, inner_from_s, inner_to_s): """ Fires on state changes and cancels for listener if state changed. """ - logging.getLogger(__name__).error( - 'state_for_cancel_listener') if inner_to_s == to_s: return hass.bus.remove_listener(EVENT_TIME_CHANGED, for_time_listener)