Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows multiple entries to be added for the integration #39

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

stau
Copy link

@stau stau commented Jan 24, 2024

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