update comment

This commit is contained in:
Cyberes 2024-08-19 17:24:32 -06:00
parent a44ee17257
commit 86a41dc478
1 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,10 @@ def update_cache():
def publish_cache():
"""
A seperate thread that will send the current value to HA every minute. This
seems to help avoid HA reporting "unknown" for the VTEC value.
"""
while True:
latest = cached_data.get()
if latest is not None: