I would like to create a schedule I initially looked at the schedule function Unfortunately this only gives the state tough on off and next event date and time.
The states I need are
On and off
Next on event date time
Next off event date time
I was doing my scheduling by using a couple of Time entities, however, as I didn’t include the date, it completely screwed up every time something happened before midnight. So I thought the scheduler was the Way to go
My biggest issue is the fact that I want to do some calculations based on the On and off times
I don’t know how best to tackle this now? Has anyone got any suggestions on how best to do this