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

feat: add config flow #22

Merged
merged 2 commits into from
Dec 29, 2021
Merged

feat: add config flow #22

merged 2 commits into from
Dec 29, 2021

Conversation

luuuis
Copy link
Owner

@luuuis luuuis commented Dec 29, 2021

Adds a config flow to the integration as per Integration Configuration. This makes it easy to add and remove Wibeee devices without needing to go into YAML and without needing a restart.

Configuration - Home Assistant 2021-12-29 01-08-21
Configuration - Home Assistant 2021-12-29 01-09-26

Existing platform: wibeee YAML configuration is imported and ignored afterwards. Currently doesn't support overriding scan_interval.

⚠️ Breaking change ⚠️

Removes the unique_id: false option introduced in #12 (only released in betas so far). Going forward all sensor and config entries will have a unique id.

@luuuis luuuis marked this pull request as ready for review December 29, 2021 11:59
@luuuis luuuis merged commit d4782d7 into main Dec 29, 2021
@luuuis luuuis deleted the add-config-flow branch December 29, 2021 11:59
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.

1 participant