Given that turning off the Fire TV with adb doesn’t turn off the television, I want to create a trigger that if I turn off the Fire TV from the service, the TV should also turn off. It only works if I don’t insert the “entity_id”, but I need it to turn off only if the target is the Fire TV. How can I do this?
alias: Power off TV when FireTV off
description: ""
trigger:
- platform: event
event_type: call_service
event_data:
domain: media_player
service: turn_off
service_data:
entity_id: media_player.fire_tv_192_168_1_69
action:
- service: scene.turn_on
target:
entity_id: scene.t_off_tv
mode: single