Trying to turn on living room lights


#1

1) Give a description of the problem
I am trying to turn on my bedroom lights in the morning at 7:10 AM if there is 30 min to sunrise but it is not working at all

2) What is the expected behavior?
I am trying to turn on my bedroom lights in the morning at 7:10 AM if there is 30 min to sunrise

3) What is happening/not happening?
It is not triggering at all

**4) Post a Green Snapshot of the piston!

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS)


#2

Try this. Run the test after importing it so it sets up the first action at the scheduled time.


#3

Living room or bedroom? :grinning:


#4

Bedroom. I have just put the code that you put together. I will test it out and let you know if it works.