Nvidea Shield Remote to Turn On TV LED Lights

Sorry to throw yet another link to a post at you, but it is an important one, and there’s a lot of good info on the forum: avoid using device ids:

It is hard to tell what this device trigger does. In this case a state trigger would be what you need. In order to see what state you are aiming for, go to the developer tools, search for the entity of the media player you are interested in. Now perform the action you want to react to, and see what the state changes to. It looks something like this:

Most likely, in this case, the state is on, but it may also be something else, like playing. Use that as to: in the state trigger. You may also want to consider putting both on and playing in the trigger, but start with only one and expand if you miss some events.

Then in the action, use only the entity id, not the device id.

1 Like