Attempt to fix shield as a source when casting

This commit is contained in:
2020-12-27 18:16:45 +02:00
parent db41798544
commit f44a33fc57
2 changed files with 7 additions and 2 deletions
@@ -96,7 +96,7 @@ cards:
- automation.tv_state_sync_on_tv_off
- automation.tv_state_sync_on_shield_on
- automation.tv_state_sync_on_shield_off
- automation.tv_sonos_join_tv_on_google_cast
- automation.tv_prepare_for_casting
- type: divider
- automation.tv_plex_setup_house_for_plex
- automation.tv_plex_restore_house_after_plex
+6 -1
View File
@@ -162,7 +162,7 @@ automation:
message: "Sync TV state · Turning TV off - Shield is off"
domain: media_player
- alias: TV · Sonos join TV on Google Cast
- alias: TV · Prepare for casting
trigger:
platform: state
entity_id: media_player.nvidia_shield
@@ -177,6 +177,11 @@ automation:
name: "📺 Media Module · "
message: "TV · Google Cast - Joining Sonoses"
domain: media_player
- delay: "00:00:10"
- service: media_player.select_source
entity_id: media_player.living_room_tv
data:
source: Shield
homeassistant:
customize: