           SensorDS18B20.listener();
 
           if (SensorDS18B20.isReady()) {
+            Led.on();
             temperature = SensorDS18B20.getLatest();
             /* Thermostat listener */
             Relay.Thermostat.listener(temperature);

            }
            /* Publishing temperature to MQTT Broker if enabled */
            Mqtt.publish("temperature", temperature);
          }
        }



          /* Relay turn off event launched */
          if (Relay.autoTurnOff()) {
            Led.on();
            Mqtt.publish(Relay.getMQTTTopic(), "state", "off");
            Led.off();
          }

          /* One of the switches has been shortly pressed */
          if (Switch.isPressed() || ExternalSwitch.isPressed()) {
            Led.on();
            Relay.toggle();
            MQTTPublishRelayState(); // MQTT Listener library
            Led.off();
          }
        }

