Commit 03db0807 authored by Christian Hesse's avatar Christian Hesse

mode-button-event: add valid script to scheduler

parent e479f3b0
......@@ -12,7 +12,8 @@
:if ([ :len $Scheduler ] = 0) do={
:log info "Creating mode-button scheduler, counting presses...";
/ system scheduler add name=mode-button-scheduler on-event=mode-button-scheduler interval=3s;
/ system scheduler add name="mode-button-scheduler" \
on-event="/ system script run mode-button-scheduler;" interval=3s;
} else={
:log debug "Updating mode-button-scheduler...";
/ system scheduler set $Scheduler start-time=[ /system clock get time ];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment