From 904405237d4732a167833647291d5d257e9d0b25 Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Sun, 15 Mar 2026 15:36:23 +0100 Subject: [PATCH] receiver --- include/automations/receiver.yaml | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 include/automations/receiver.yaml diff --git a/include/automations/receiver.yaml b/include/automations/receiver.yaml new file mode 100644 index 0000000..8876210 --- /dev/null +++ b/include/automations/receiver.yaml @@ -0,0 +1,35 @@ +# Når apple tv skifter til source DRTV eller TV 2 PLAY, så skift audiomode til MCH STEREO på Denon reciever. +# Ellers sæt audiomode til DOLBY DIGITAL + +- alias: "ATV playing DRTV, change sound to MCH STEREO" + trigger: + - platform: state + entity_id: sensor.living_room_tv_source + to: 'DRTV' + action: + service: media_player.select_sound_mode + data: + sound_mode: MCH STEREO + entity_id: media_player.denon_avr_x2300w + +- alias: "ATV playing TV2PLAY, change sound to MCH STEREO" + trigger: + - platform: state + entity_id: sensor.living_room_tv_source + to: 'TV 2 PLAY' + action: + service: media_player.select_sound_mode + data: + sound_mode: MCH STEREO + entity_id: media_player.denon_avr_x2300w + +- alias: "ATV playing Netflix, change sound to DOLBY DIGITAL" + trigger: + - platform: state + entity_id: sensor.living_room_tv_source + to: 'Netflix' + action: + service: media_player.select_sound_mode + data: + sound_mode: DOLBY DIGITAL + entity_id: media_player.denon_avr_x2300w