Skip to content

Allows multiple entries to be added for the integration - #39

Open
stau wants to merge 4 commits into
asev:masterfrom
stau:multi-instance
Open

Allows multiple entries to be added for the integration#39
stau wants to merge 4 commits into
asev:masterfrom
stau:multi-instance

Conversation

@stau

@stau stau commented Jan 24, 2024

Copy link
Copy Markdown

Currently the DOMAIN (uponor) is set as the unique_id.
This prevents multiple entries to be added.

Users can now optionally set a unique_id of their own preference or leave the field empty for it to be auto-generated.

The async_setup in __init__.py has been disabled, and seems like dead code.

Disclaimer: I am not familiar with Python and very inexperienced with the custom_component things in HA.
Open to suggestions / improvements.

Fixes #34

stau added 4 commits January 23, 2024 22:16
Basically we maintain the domain, while for all the other places we use the unique_id for separate instances.

Currently the unique_id is generated from the conf_name.
For backwards compatibility you would like to be able to set it to "uponor".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not able to add multiple systems

1 participant