Fix: must call Pylontech Home Assistent init() method

previously, the Pytlontech Home Assistent class implementation had an
init() method, that was never called, as it did nothing. the class
relied on its loop() method being called from the main loop(). after
switching to the TaskScheduler approach, the Pylontech Home Assistent
class init() method was adjusted to register a task that calls the
loop() method periodically. however, the init() method was still not
called.
This commit is contained in:
Bernhard Kirchen 2023-09-03 18:29:15 +02:00
parent 1916d6d6a8
commit c2b49931be

View File

@ -116,6 +116,7 @@ void setup()
MqttHandleVedirect.init(scheduler); MqttHandleVedirect.init(scheduler);
MqttHandleHass.init(scheduler); MqttHandleHass.init(scheduler);
MqttHandleVedirectHass.init(scheduler); MqttHandleVedirectHass.init(scheduler);
MqttHandlePylontechHass.init(scheduler);
MqttHandleHuawei.init(scheduler); MqttHandleHuawei.init(scheduler);
MqttHandlePowerLimiter.init(scheduler); MqttHandlePowerLimiter.init(scheduler);
MessageOutput.println("done"); MessageOutput.println("done");