We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Rule:
fun(Pid, Name, Body) -> case Body of "off" -> ok; "on" -> sensor:send([], Name, "on"), sensor:send_after(Pid, Name, 20000, "off"); _ -> ok end end.
There was an error while loading. Please reload this page.