This is PR tackles the blocking call to load the sources.json in the config_flow initialization. I moved the the _sources and method creation logic out of init.
I'm not sure if this is the best approach. Whenever a new process entry method (other then new, reconfigure) is created, _async_setup_sources needs to be called...
This is PR tackles the blocking call to load the sources.json in the config_flow initialization. I moved the the _sources and method creation logic out of init.
I'm not sure if this is the best approach. Whenever a new process entry method (other then new, reconfigure) is created,
_async_setup_sources
needs to be called...Fixes: #3031