Style fixes
This commit is contained in:
1 parent
57b3e8018b
commit
e43eee2eb1
2 files changed
+5
-1
No files matched your search
@@ -122,7 +122,10 @@ def humanify(events):
|
||||
|
||||
to_state = State.from_dict(event.data.get('new_state'))
|
||||
|
||||
if not to_state or to_state.last_changed != to_state.last_updated:
|
||||
# if last_changed == last_updated only attributes have changed
|
||||
# we do not report on that yet.
|
||||
if not to_state or \
|
||||
to_state.last_changed != to_state.last_updated:
|
||||
continue
|
||||
|
||||
domain = to_state.domain
|
||||
|
||||
Reference in new issue
Block a user