Automation actions not available for a device (Samsung TV)

Hello, I would like to create an automation to turn off my 2021 Samsung TV (QN90A). The TV is setup correctly as a device. I can turn it off from the controls/dashboard. However, when I create an automation, the action dialog is greyed out for the TV. Any suggestions?

2 Likes

Under Actions: Try using ‘call a service’ and then select ‘media_player.turn_on’ OR ‘media_player.turn_off’ and then select the required media player.

Looks like this in yaml:

action:
  - service: media_player.turn_on
    data: {}
    target:
      entity_id: media_player.your_media_player

Thanks rossk! That worked

1 Like

It works only when the TV is on, to put it off, but after been off it does not respond to me :frowning:

1 Like