Stop motion turning on light when Plex is running on TV

Looking for best method to stop a light coming on by motion sensor when I’m watching a movie when the sun is down.

I have an LG TV integrated. I have an integration for Plex running on my Synology server. There is a Plex entity which seems to become available when Plex is active.

I created a boolean helper toggle for Plex On or off. I can easily write the condition in the light automation to not trigger if the toggle is on. But what’s the best way to have the toggle turn on? An automation watching for it to go from unavailable to on toggling the binary toggle?

Anyone…please?

Hello harryfine,

You would need to edit the automation that’s turning the light on, and tell it when you want to to disable based on some other input.

Or just have a switch on the wall that turns the light off when you don’t want it on.

You have not shared how you are currently doing anything, so that’s as detailed an answer as we have for you.