 }
 
 bool RelayHandler(const HomieRange& range, const String& value) {
-  /*
-  Here we handle incoming requests to set the state of the relay
-  Set the RELAY_PIN to the appropriate level, and additionally set the
-  state on the relayState topic.
-  */
+  // Here we handle incoming requests to set the state of the relay
+  // Set the RELAY_PIN to the appropriate level, and additionally set the
+  // state on the relayState topic.
   if (value == "ON") {
     digitalWrite(PIN_RELAY, HIGH);
     relayNode.setProperty("relayState").send("ON");

// Milliseconds to wait per cycle for a held command.
const int waitInterval = 100;

// EEPROM structure
struct EEpromDataStruct {
  int keepAliveTimeOut; // 0 - disabled, keepalive time - seconds
  bool initialState;  // Initial state (just after boot - homie independet)
  int watchDogTimeOut; // 0 - disabled, watchdog time limit - seconds


  }

void onHomieEvent(const HomieEvent& event) {
  // Homie event handler
  switch(event.type) {
    case HomieEventType::CONFIGURATION_MODE: // Default eeprom data in configuration mode
      digitalWrite(PIN_RELAY, LOW);
