home-assistant-solaredge-modbus icon indicating copy to clipboard operation
home-assistant-solaredge-modbus copied to clipboard

Implement options flow to change settings after configuration

Open Landcross opened this issue 1 year ago • 2 comments

I've been using this addon for quite some time now and I have no issues with it; it works like a charm. However, when I initially set up the integration I have set the polling frequency to 30s which at the time was fine for me. However, now I would like to decrease (or increase, depending on how you look at it) the frequency to e.g. 10s.

I checked if there are any editable integration settings in HA, but I couldn't find anything. Is it possible to change the frequency without removing and re-adding the integration?

Landcross avatar Apr 21 '23 06:04 Landcross

I did some reading into the docs and it seems like to make this possible the addon needs to implement the Options Flow, as documented here: https://developers.home-assistant.io/docs/config_entries_options_flow_handler/ I've edited the issue title to reflect a more concrete issue :)

Landcross avatar Apr 21 '23 07:04 Landcross

This would be a great feature if implemented

cyberax17 avatar Jul 20 '24 20:07 cyberax17