Skip to content

Commit f83e0bb

Browse files
authored
Update RelayWithButtonActuator.ino
The value S_LIGHT was deprecated in 2.0 and later removed.
1 parent bba998b commit f83e0bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/RelayWithButtonActuator/RelayWithButtonActuator.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void presentation() {
8080
sendSketchInfo("Relay & Button", "1.0");
8181

8282
// Register all sensors to gw (they will be created as child devices)
83-
present(CHILD_ID, S_LIGHT);
83+
present(CHILD_ID, S_BINARY);
8484
}
8585

8686
/*

0 commit comments

Comments
 (0)