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

Add config_flow for configuration via Integrations UI #28

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

YodaDaCoda
Copy link
Contributor

Mostly taken from my own attempt at creating the same custom component - https://github.com/YodaDaCoda/hass-solarman-modbus/

I note that your README.md includes a configuration parameter scan_interval which appears unused. I've not attempted to add that parameter.

NB: during config flow, a connection attempt is made to the specified host/port combination. If this fails (e.g. because you're setting it up at night and the inverter/sensor is powered off) then setup will fail and the integration will not be added.

Fixes #15

My editor also removed some excess whitespace, I hope that's not an issue.

@StephanJoubert StephanJoubert merged commit 586ad20 into StephanJoubert:main Mar 23, 2022
@StephanJoubert
Copy link
Owner

Thanks @YodaDaCoda , I had a quick look and it looks good. Will test and update the documentation likewise.

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.

Enable setup via UI
2 participants