From ac325b095e6a8be97f076e93ba5e878b4134c96f Mon Sep 17 00:00:00 2001 From: davesmeghead Date: Sun, 4 Aug 2024 22:13:04 +0100 Subject: [PATCH] 0.9.6.14 test to see if global var fixes problem --- custom_components/visonic/__init__.py | 1 + custom_components/visonic/client.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/visonic/__init__.py b/custom_components/visonic/__init__.py index 1899a1e..b14d03b 100644 --- a/custom_components/visonic/__init__.py +++ b/custom_components/visonic/__init__.py @@ -325,6 +325,7 @@ def configured_hosts(hass): async def async_migrate_entry(hass: HomeAssistant, config_entry: VisonicConfigEntry) -> bool: """Migrate old schema configuration entry to new.""" + global update_version_panel_number # This function is called when I change VERSION in the ConfigFlow # If the config schema ever changes then use this function to convert from old to new config parameters version = config_entry.version diff --git a/custom_components/visonic/client.py b/custom_components/visonic/client.py index 4981c0a..b259645 100644 --- a/custom_components/visonic/client.py +++ b/custom_components/visonic/client.py @@ -122,7 +122,7 @@ # "trigger", #] -CLIENT_VERSION = "0.9.6.13" +CLIENT_VERSION = "0.9.6.14" MAX_CLIENT_LOG_ENTRIES = 300