update_temp at startup from restored temp_today

This commit is contained in:
Gilles Grandou 2022-09-07 09:09:52 +02:00
parent 3096846e0d
commit 13e59a2615

View File

@ -297,6 +297,8 @@ Shelly.call (
if (result) {
status.temp_today = result.value;
print("[POOL] Restore from KVS: temp_today:", status.temp_today);
if (status.temp_today !== null)
update_temp(status.temp_today);
}
}
)