Im trying to diagnose and make changes to an integration that has (officially) been abandoned by its original author. I am changing the code in the python files in the custom_components for the integration.
Im learning python and HA as I go (long background in other programming languages and platforms though) - and so Im making frequent changes, and then testing to see if it works (via debug and error messages etc).
Each time I make a change to the python code though, I have to completely restart HA to have it 'reloaded' - which takes about 7 or 8 minutes to complete on my system.
I note the options under the integration (reload, and disable/reenable) dont seem to do what I expect (Im assuming the python is compiled once at HA start time, and therefore, these options to 'reload the new code' dont work ?
Is there an easier way ?
#Best way to 'reload' an Integration while making changes
1 messages · Page 1 of 1 (latest)
Hello @mighty bronze,
Perhaps this is a developer area question?
You may want to ask here:
- For reading, I recommend the developer documentation: https://developers.home-assistant.io/
- After that if you have a question go to
1: id:customize
2: Customize
and select
3: I want to contribute
and it will give you places to ask such questions...
And thankyou for picking up one of the integrations that are struggling. It really helps the community!