Automation diming light only when media_content_type is movie

Hi

I have the automation for the light’s working from chromecast. But I want it to only trigger when i play a movie from the plex app on chromecas.

I think that I have to use the condition settings but i can’t find information about how to use it. I see the information i home automation web interface under state attributes.

Hi olewst,

For me i create a input_boolean chromecast/light.
And if it is on, the chromecast effect is on.
if it is off the lights doesn’t turn off with chromecast…

It 's not the best but it works…