The instantiation for the Hue Bridge object occurs in on_after_startup() which is great and makes sense 99% of the time.
It gets awkward when users are installing octohue for the first time, and once installed and Octoprint restarted, the users need to set their settings (normal), but then need to restart again to get thebridge initialised (not normal).
I need to add a bridge reinitialisation to be triggered on settings save if there is a birdge username and address present.
The instantiation for the Hue Bridge object occurs in on_after_startup() which is great and makes sense 99% of the time.
It gets awkward when users are installing octohue for the first time, and once installed and Octoprint restarted, the users need to set their settings (normal), but then need to restart again to get thebridge initialised (not normal).
I need to add a bridge reinitialisation to be triggered on settings save if there is a birdge username and address present.