forked from Github/frigate
Add recordings timeline entry for frigate+ attributes (#8063)
* Add attribute item to timeline * Add face icon * Add support for other icons * Cleanup * Ensure attributes are only updated once * don't show _ in attributes
This commit is contained in:
@@ -42,6 +42,9 @@ def should_update_state(prev_event: Event, current_event: Event) -> bool:
|
||||
if prev_event["stationary"] != current_event["stationary"]:
|
||||
return True
|
||||
|
||||
if prev_event["attributes"] != current_event["attributes"]:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user