mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Convert old deCONZ groups unique ids (#46093)
* Convert old groups unique ids Work around for walrus operator not working properly :/ * Remove CONF_GROUP_ID_BASE once entities unique id are updated * Don't use migrate_entry mechanism to update unique_ids of groups * Remove walrus operator :( * Fix review comments * Walrusify assignment to old_unique_id
This commit is contained in:
@@ -66,6 +66,7 @@ async def setup_deconz_integration(
|
||||
options=ENTRY_OPTIONS,
|
||||
get_state_response=DECONZ_WEB_REQUEST,
|
||||
entry_id="1",
|
||||
unique_id=BRIDGEID,
|
||||
source="user",
|
||||
):
|
||||
"""Create the deCONZ gateway."""
|
||||
@@ -76,6 +77,7 @@ async def setup_deconz_integration(
|
||||
connection_class=CONN_CLASS_LOCAL_PUSH,
|
||||
options=deepcopy(options),
|
||||
entry_id=entry_id,
|
||||
unique_id=unique_id,
|
||||
)
|
||||
config_entry.add_to_hass(hass)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user