Skip to content

Commit

Permalink
Merge pull request #232 from elad-bar/Fix-UniqueID-ConfigFlow-Issue
Browse files Browse the repository at this point in the history
Added unique_id="" to ConfigEntry creation
  • Loading branch information
kramttocs committed Jun 8, 2024
2 parents d538bf4 + d6112b9 commit 9b0be5b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions custom_components/blueiris/managers/config_flow_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="",
Expand All @@ -254,6 +255,7 @@ async def _update_entry(self):
del self._data[CONF_PASSWORD]

entry = ConfigEntry(
unique_id="",
version=0,
minor_version=0,
domain="",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/blueiris/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 9b0be5b

Please sign in to comment.