     }
     lastButtonState = buttonState;
   }
+  ArduinoOTA.handle();
 }
 
 void setup() {

  Homie.setResetTrigger(PIN_BUTTON, LOW, 5000);
  Homie.setLoopFunction(loopHandler);
  Homie.setup();
}

void loop() {

#include <Homie.h>
#include <ArduinoOTA.h>

#define PIN_LED     13      // PIN 12 / HSPI_MOSI; UART0_CTS MTCK
#define PIN_RELAY   12      // PIN 10 / HSPI_MISO MTDI
