Move UtilitiesGroups to PSRAM

This commit is contained in:
Edward Firmo
2024-04-08 20:36:23 +02:00
parent 3a2dd23f86
commit 6be727d4af
2 changed files with 34 additions and 9 deletions

View File

@@ -174,8 +174,10 @@ time:
on_time_sync:
then:
- logger.log: "System clock synchronized"
- script.execute: refresh_datetime
- lambda: |-
ESP_LOGD("time.on_time_sync", "System clock synchronized");
ESP_LOGD("time.on_time_sync", "Timezone: %s", get_timezone().c_str());
refresh_datetime->execute();
json: # Can be replaced by web_server
@@ -2541,7 +2543,7 @@ script:
- id: page_utilities
mode: restart
then:
- lambda: resetUtilitiesGroups();
- lambda: if (UtilitiesGroups == nullptr) resetUtilitiesGroups();
- id: page_weather
mode: restart
@@ -2879,6 +2881,7 @@ script:
mode: restart
then:
- lambda: |-
cleanupUtilitiesGroups();
boot_event->stop();
boot_progress->stop();
change_climate_state->stop();