Automation State Change For timer attribute fix (#7584)
This commit is contained in:
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."""
|
||||
|
||||
Reference in new issue
Block a user