     if ( millis() - previousMillis >= waitInterval ) {
       previousMillis = millis();
       if ( function == -1 ) {
-        buttonNode.setProperty("event").send("SINGLEHELD");
+        buttonNode.setProperty("event").setRetained(false).send("SINGLEHELD");
         Serial.println("SINGLE LONG click");
       }
 
       if ( function == -2 ) {
-        buttonNode.setProperty("event").send("DOUBLEHELD");
+        buttonNode.setProperty("event").setRetained(false).send("DOUBLEHELD");
         Serial.println("DOUBLE LONG click");
       }
 
       if ( function == -3 ) {
-        buttonNode.setProperty("event").send("TRIPLEHELD");
+        buttonNode.setProperty("event").setRetained(false).send("TRIPLEHELD");
         Serial.println("TRIPLE LONG click");
       }
     }

// Register our two HomieNode instances
// nodeName(property, value, retained);
HomieNode relayNode("relay", "relay");
HomieNode buttonNode("button", "button", false);

bool RelayHandler(const HomieRange& range, const String& value) {
  /*

#include <Homie.h>

#define FW_NAME "homie-sonoff-touch"
#define FW_VERSION "2.0.2"

/* Magic sequence for Autodetectable Binary Upload */
const char *__FLAGGED_FW_NAME = "\xbf\x84\xe4\x13\x54" FW_NAME "\x93\x44\x6b\xa7\x75";
