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:
parent
1916d6d6a8
commit
c2b49931be
@ -116,6 +116,7 @@ void setup()
|
||||
MqttHandleVedirect.init(scheduler);
|
||||
MqttHandleHass.init(scheduler);
|
||||
MqttHandleVedirectHass.init(scheduler);
|
||||
MqttHandlePylontechHass.init(scheduler);
|
||||
MqttHandleHuawei.init(scheduler);
|
||||
MqttHandlePowerLimiter.init(scheduler);
|
||||
MessageOutput.println("done");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user