biddster / node-red-contrib-schedex

Scheduler for node-red which allows you to enter on/off times as 24hr clock (e.g. 01:10) or suncalc events (e.g. goldenHour). It also allows you to offset times and randomise the time within the offset.
22 stars 17 forks source link

Added sync_state command #68

Closed dionmes closed 4 years ago

dionmes commented 4 years ago

Added sync_state command to (re)send the current scheduled on/off command.

biddster commented 4 years ago

Looks good. Any chance of a unit test?

dionmes commented 4 years ago

Yes, I can add that.

biddster commented 4 years ago

Many thanks for the help. I've merged it into a feature branch. I've decided to change the command to send_state and added some documentation. I'll pop it into soak test here for a couple of days and release it.