Extract store helpers into storage_helpers.py

auto_out_path, load_store, save_store moved out of data_model.py into
their own module. data_model.py now contains only value helpers and
domain extractors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-25 19:50:00 +02:00
co-authored by Claude Sonnet 4.6
parent 097bc5ad51
commit 53dcaf537e
3 changed files with 37 additions and 34 deletions
+2 -1
View File
@@ -58,7 +58,8 @@ from pathlib import Path
import log_config
import network
import we_connect
from data_model import ALL_DOMAINS, auto_out_path, collect_snapshot, load_store, save_store
from data_model import ALL_DOMAINS, collect_snapshot
from storage_helpers import auto_out_path, load_store, save_store
log = logging.getLogger(__name__)