From 7bd28532ed6baf79ce2e4498339b3c370d49a78b Mon Sep 17 00:00:00 2001 From: schizza Date: Thu, 24 Apr 2025 20:30:00 +0200 Subject: [PATCH] Adds sensor migration constants --- custom_components/sws12500/const.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/sws12500/const.py b/custom_components/sws12500/const.py index 1819c7f..121a597 100644 --- a/custom_components/sws12500/const.py +++ b/custom_components/sws12500/const.py @@ -7,7 +7,6 @@ DOMAIN = "sws12500" DEFAULT_URL = "/weatherstation/updateweatherstation.php" WSLINK_URL = "/data/upload.php" WINDY_URL = "https://stations.windy.com/pws/update/" -DATABASE_PATH = "/config/home-assistant_v2.db" ICON = "mdi:weather" @@ -16,6 +15,8 @@ API_ID = "API_ID" SENSORS_TO_LOAD: Final = "sensors_to_load" SENSOR_TO_MIGRATE: Final = "sensor_to_migrate" +MIG_FROM: Final = "migrate_from" +MIG_TO: Final = "migrate_to" DEV_DBG: Final = "dev_debug_checkbox" WSLINK: Final = "wslink"