JSON example, when the TV is running, the color of the lights changes

Can you please help me with an example of JSON in Noder-red, when the TV is running NETFLIX to set a light of a certain color and when Youtube is running to set another color?

I just can’t get it to work :frowning:
Thank you!

If you could export your nodes and post them here, it’s much easier to help.
Could you explain your issues in a bit more details please?

I assume you are filtering for the “source” in the switch node. Which is fine.
I see that it turned on the light for Youtube in your flow, so it works for at least one state.
Does it only work for one state and note for the others?