diff --git a/scripts/20.android-tv.yaml b/scripts/20.android-tv.yaml index e7b3c0e..74284ad 100644 --- a/scripts/20.android-tv.yaml +++ b/scripts/20.android-tv.yaml @@ -38,6 +38,12 @@ tv_twitch: target: entity_id: media_player.living_room - delay: 5 + - service: media_player.select_source + data: + source: 'AndroidTV Launcher' + target: + entity_id: media_player.nvidia_shield + - delay: 1 - service: media_player.select_source data: source: Twitch @@ -61,6 +67,12 @@ tv_youtube: target: entity_id: media_player.living_room - delay: 5 + - service: media_player.select_source + data: + source: 'AndroidTV Launcher' + target: + entity_id: media_player.nvidia_shield + - delay: 1 - service: media_player.select_source data: source: YouTube @@ -84,11 +96,46 @@ tv_netflix: source: TV target: entity_id: media_player.living_room + - service: media_player.select_source + data: + source: 'AndroidTV Launcher' + target: + entity_id: media_player.nvidia_shield + - delay: 1 - service: media_player.select_source data: source: Netflix target: entity_id: media_player.nvidia_shield +tv_hbogo: + alias: HBO GO + icon: mdi:netflix + sequence: + - choose: + - conditions: + - condition: state + entity_id: switch.harmonyhub_shield_tv + state: 'off' + sequence: + - service: switch.turn_on + entity_id: switch.harmonyhub_shield_tv + - delay: 5 + - service: media_player.select_source + data: + source: TV + target: + entity_id: media_player.living_room + - service: media_player.select_source + data: + source: 'AndroidTV Launcher' + target: + entity_id: media_player.nvidia_shield + - delay: 1 + - service: media_player.select_source + data: + source: 'HBO GO' + target: + entity_id: media_player.nvidia_shield tv_firefox: alias: Firefox icon: mdi:firefox @@ -107,6 +154,12 @@ tv_firefox: source: TV target: entity_id: media_player.living_room + - service: media_player.select_source + data: + source: 'AndroidTV Launcher' + target: + entity_id: media_player.nvidia_shield + - delay: 1 - service: media_player.select_source data: source: Firefox