Lights on before sunrise, only on UTC and not before 6AM

Hi
Im not sure this is possible although I have it mostly functional. The automation triggers on sunrise minus 2 hours, the next condition identifies UTC so it wont trigger in the summer, then the lights switch on. What I’m now trying to do and ensure, as the sunrise gets earlier, the lights dont turn on before 6am, but do at 6 am. In the shorter days when sunrise is around 8 its ok, into march the lights will be coming on around 5. Regards Pete

You could split the task into two automations:
The first will be triggered by sunrise - 2 hours with the two conditions not UTC and after 6 a.m.
The second will be triggered at 6 a.m. but only if sunrise - 2 hours is before 6 a.m.

1 Like

Trigger on both:

  • Sunrise - 2h
  • 6am

Then add a condition on >= 6am

1 Like

Hang on, if I am reading your conditions correctly aren’t you just asking to turn the lights on at 6:00 AM every day regardless of time of year - given that the latest sunrise is around 8:00 AM ** and you want the lights on at sunrise - 2 ?

** - With the possible exception of a small lay in on the darkest days of the year.