device is running again

This commit is contained in:
c3ma 2020-10-16 20:42:21 +02:00
parent 0a91501dc5
commit 6cf9771dcb

View File

@ -335,7 +335,6 @@ void systemInit(){
Homie_setFirmware("PlantControl", FIRMWARE_VERSION);
Homie.setLoopFunction(loopHandler);
Homie.setup();
mConfigured = Homie.isConfigured();
@ -415,6 +414,8 @@ void systemInit(){
// Mode 3
stayAlive.advertise("alive").setName("Alive").setDatatype("number").settable(aliveHandler);
}
Homie.setup();
}