For now, the link between flask and the configuration is done for mqtt. When the values are updated in the web app, they are also updated in the configuration file.

However, they are not also updated in the MQTT class. Therefore, the old values will always be the ones read for the first time from the configuration file.
I have to implement a method to update the internal values of the MQTT class when the same values are updated in the configuration.