Switch on/off lights at random time in morning/evening
I am trying to create a rule where i can have my living room light switched on at a random time between 04:45AM and 5:15AM and then off at 7:30AM and in the evening on between 6:15PM and 6:45PM and then off at 10PM. I used to have a rule working that'd switch the light on at 05:10AM and off at 6:45PM but they no longer work after the issues with the Virtual Weather Station.
Attached is a rule i've add to open my curtains at sunrise that does work and a non working rule regarding my lights. It seems that using the scheduler will only allow me to activate my lights as per Sunrise and Sunset since if i omit the the IF clause it will work but only at Sunrise/Sunset which is not what i need.
Any help is greatly appreciated!