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:
Nicolas Mowen
2023-10-07 08:17:18 -06:00
committed by GitHub
parent 79fabbb6b0
commit 08ef69bac4
6 changed files with 88 additions and 5 deletions

View File

@@ -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