From d6112b9518dbcde5629b4fccf2c27f4bab906462 Mon Sep 17 00:00:00 2001 From: kramttocs <11565750+kramttocs@users.noreply.github.com> Date: Sat, 8 Jun 2024 13:49:11 +0000 Subject: [PATCH] Added unique_id="" to ConfigEntry creation --- CHANGELOG.md | 4 ++++ custom_components/blueiris/managers/config_flow_manager.py | 2 ++ custom_components/blueiris/manifest.json | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1379e6b..a5f0b6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.19 + +- Fix (band-aid) for the ConfigEntry unique_id issue caused by 2024.6 + ## 1.0.18 - Address supported features depredation for HA Core 2025.1 diff --git a/custom_components/blueiris/managers/config_flow_manager.py b/custom_components/blueiris/managers/config_flow_manager.py index cbffd00..4cdcd3c 100644 --- a/custom_components/blueiris/managers/config_flow_manager.py +++ b/custom_components/blueiris/managers/config_flow_manager.py @@ -238,6 +238,7 @@ def get_default_options(self) -> vol.Schema: async def _update_entry(self): try: entry = ConfigEntry( + unique_id="", version=0, minor_version=0, domain="", @@ -254,6 +255,7 @@ async def _update_entry(self): del self._data[CONF_PASSWORD] entry = ConfigEntry( + unique_id="", version=0, minor_version=0, domain="", diff --git a/custom_components/blueiris/manifest.json b/custom_components/blueiris/manifest.json index 30bc581..bfde859 100644 --- a/custom_components/blueiris/manifest.json +++ b/custom_components/blueiris/manifest.json @@ -9,5 +9,5 @@ "iot_class": "local_polling", "issue_tracker": "https://github.com/elad-bar/ha-blueiris/issues", "requirements": [], - "version": "1.0.18" + "version": "1.0.19" }