Automation State Change For timer attribute fix (#7584)

This commit is contained in:
Adam Mills authored and Paulus Schoutsen committed 2017-05-15 00:34:30 -07:00
1 parent d0304198de
commit e2e58e6acc
2 files changed
+83

No files matched your search

@@ -79,6 +79,10 @@ def async_trigger(hass, config, action):
call_action()
return
# If only state attributes changed, ignore this event
if from_s.last_changed == to_s.last_changed:
return
@callback
def state_for_listener(now):
"""Fire on state changes after a delay and calls action."""