add function that gets called before homie initialization
This commit is contained in:
@ -20,6 +20,7 @@ void loopHandler() {
|
||||
}
|
||||
|
||||
void setup() {
|
||||
hardwareSetup();
|
||||
Homie.setFirmware(FWNAME, FWVERSION);
|
||||
for (int i = 0; i < sizeof(devices) / sizeof(*devices); i++) {
|
||||
devices[i]->deviceRegister();
|
||||
|
Reference in New Issue
Block a user