Skip to content

Commit ad8f870

Browse files
authored
Update Berry.md
Cleaned up copy/paste stuff not relevant to cron
1 parent acfa0d9 commit ad8f870

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/Berry.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,6 @@ When using Rules or Timers, you always pass Berry functions.
258258

259259
You can choose to run some function/closure at regular intervals specified as `cron` type format. (Crontab Guru)[https://crontab.guru/] is an easy way to create and test your cron format.
260260

261-
# set channels as numbers (purple 12%)
262-
> light.set({"channels": [32,0,32]})
263-
{'bri': 32, 'hue': 300, 'power': true, 'sat': 255, 'rgb': '200020', 'channels': [32, 0, 32]}
264-
```
265-
266261
``` berry
267262
> def f() print("Hi") end
268263
> tasmota.add_cron("*/15 * * * * *", f, "every_15_s")

0 commit comments

Comments
 (0)