feat v1.3.0 (phase 1): server-side config store (spaces/plans/rooms/overrides/virtual, normalized coords), WS config/get|set + plan/set upload, card resolved-model (server or legacy fallback), one-click migration — executed on dacha

This commit is contained in:
JB
2026-07-04 10:43:40 +03:00
parent 1d576164f4
commit 18c0ea1703
14 changed files with 756 additions and 231 deletions
+10 -1
View File
@@ -2,8 +2,17 @@
DOMAIN = "houseplan"
STORAGE_KEY = f"{DOMAIN}.layout"
STORAGE_CONFIG_KEY = f"{DOMAIN}.config"
STORAGE_VERSION = 1
FRONTEND_URL = "/houseplan_files/houseplan-card.js"
PLANS_URL = "/houseplan_files/plans"
PLANS_DIR = "houseplan/plans" # относительно каталога конфигурации HA
CONF_ADMIN_ONLY = "admin_only"
VERSION = "1.3.0"
VERSION = "1.0.0"
DEFAULT_CONFIG: dict = {
"spaces": [],
"device_overrides": {},
"virtual_devices": [],
"settings": {},
}