From f83e0bbf2bf68000ba3ec663a2760149fe9c875a Mon Sep 17 00:00:00 2001 From: Michiel van der Wulp Date: Sat, 11 Sep 2021 14:08:51 +0200 Subject: [PATCH] Update RelayWithButtonActuator.ino The value S_LIGHT was deprecated in 2.0 and later removed. --- examples/RelayWithButtonActuator/RelayWithButtonActuator.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/RelayWithButtonActuator/RelayWithButtonActuator.ino b/examples/RelayWithButtonActuator/RelayWithButtonActuator.ino index 2a2b53a..04e33b6 100755 --- a/examples/RelayWithButtonActuator/RelayWithButtonActuator.ino +++ b/examples/RelayWithButtonActuator/RelayWithButtonActuator.ino @@ -80,7 +80,7 @@ void presentation() { sendSketchInfo("Relay & Button", "1.0"); // Register all sensors to gw (they will be created as child devices) - present(CHILD_ID, S_LIGHT); + present(CHILD_ID, S_BINARY); } /*