Skip to content

Conditions for automation?

Conditions for automation?

I have a few automations running in my living room that turn on the lights 30 minutes before sunset. It works perfectly. However, two lights are reflected on my TV screen, so I also have an automation that has “when the TV turns on, it turns off the lights.” In winter, it’s good, because we tend not to start watching TV until the lights come on, but now it’s not the case in summer. Is there any way to add a condition to an automation such as “if the TV is on, do not turn on the x and y lights”?