From fbcd2be7bf89da7080ea214871012147088ee7e9 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sun, 7 Aug 2022 00:27:53 +0200 Subject: [PATCH] Disable F1TV when TV is on --- scripts/20.tv.yaml | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/scripts/20.tv.yaml b/scripts/20.tv.yaml index 7a1cb2f..0a65188 100644 --- a/scripts/20.tv.yaml +++ b/scripts/20.tv.yaml @@ -74,7 +74,7 @@ tv_atv: data: mode: video tv_f1tv: - alias: tv F1 + alias: F1TV icon: mdi:android sequence: - choose: @@ -91,26 +91,26 @@ tv_f1tv: target: entity_id: media_player.living_room - delay: 5 - - service: androidtv.adb_command - data: - command: HOME - entity_id: media_player.nvidia_shield - - delay: 5 - - service: media_player.select_source - data: - source: com.formulaone.production - target: - entity_id: media_player.nvidia_shield - - delay: 5 - - service: androidtv.adb_command - data: - command: CENTER - entity_id: media_player.nvidia_shield - - service: huesyncbox.set_sync_mode - target: - entity_id: media_player.sync_box - data: - mode: video + - service: androidtv.adb_command + data: + command: HOME + entity_id: media_player.nvidia_shield + - delay: 5 + - service: media_player.select_source + data: + source: com.formulaone.production + target: + entity_id: media_player.nvidia_shield + - delay: 5 + - service: androidtv.adb_command + data: + command: CENTER + entity_id: media_player.nvidia_shield + - service: huesyncbox.set_sync_mode + target: + entity_id: media_player.sync_box + data: + mode: video tv_off: alias: 'TV Off' icon: mdi:power