Hey. I would like to configure a automation to turn on some lights, if i come home. And that works already reliable. But i would like to turn on the lights only from 20 minutes before sunset until sunrise. Current it turns on all the day, if i come home.
If i adopt these parameter as condition, the automation wouldn´t executed. What am I doing wrong?
Actualy:
Trigger: My handy from “not_home” to “home”
Condition: empty
Action: One light to turn it on