redis test 1

This commit is contained in:
matt committed 2026-10-13 02:35:22 -07:00
1 parent 66e022bafe
commit 839f7602df
5 files changed
+46 -3

No files matched your search

+3
View File
@@ -52,6 +52,9 @@ def update_cache() -> None:
if sensor.name == sensor_datum['name']:
sensor.add_or_update(key="temp", value=sensor_datum['temp'])
sensor.add_or_update(key="humidity", value=sensor_datum['humidity'])
if enable_redis:
update_redis(get_sensor_details())
def scan_macs():
new_macs = asyncio.run(_scan_once())