* fix warning

* Improve event switching speed

* Fix icon colors

* Only show frigate+ page when frigate+ is enabled

* Add link from reecordings to live as well
This commit is contained in:
Nicolas Mowen
2024-04-11 14:54:09 -06:00
committed by GitHub
parent 7a7ae81d50
commit 13cac082d5
11 changed files with 152 additions and 107 deletions

View File

@@ -439,7 +439,7 @@ def motion_activity():
# normalize data
motion = (
df["motion"]
.resample(f"{scale}S")
.resample(f"{scale}s")
.apply(lambda x: max(x, key=abs, default=0.0))
.fillna(0.0)
.to_frame()