Remove automations and blueprint for Chromecasting to TVs

This commit is contained in:
2025-05-15 00:03:16 -04:00
parent 49a4f4650b
commit f589cc0e6c
2 changed files with 15 additions and 32 deletions

View File

@ -69,15 +69,6 @@
seconds: 0 seconds: 0
milliseconds: 0 milliseconds: 0
mode: single mode: single
- id: '1640916845901'
alias: Cast to Chromecast
description: ''
use_blueprint:
path: kind3r/cast-and-re-cast-a-lovelace-view-to-a-google-hub.yaml
input:
dashboard: lovelace
player: media_player.living_room_tv
view: chromecast
- id: '1640989510134' - id: '1640989510134'
alias: New Years alias: New Years
description: Flash lights for New Years description: Flash lights for New Years
@ -281,15 +272,6 @@
- service: icloud3.restart - service: icloud3.restart
data: {} data: {}
mode: single mode: single
- id: '1645738561470'
alias: Cast to Basement TV
description: ''
use_blueprint:
path: kind3r/cast-and-re-cast-a-lovelace-view-to-a-google-hub.yaml
input:
dashboard: lovelace
player: media_player.basement_tv_chromecast
view: chromecast
- id: '1651785688186' - id: '1651785688186'
alias: Watchman Audit on Startup alias: Watchman Audit on Startup
description: Runs the Watchman Audit script after Home Assistant has successfully description: Runs the Watchman Audit script after Home Assistant has successfully

View File

@ -10,6 +10,7 @@ blueprint:
selector: selector:
entity: entity:
integration: cast integration: cast
multiple: false
view: view:
name: Lovelace view path name: Lovelace view path
description: Path of the view to cast. A path has to be defined in your Lovelace description: Path of the view to cast. A path has to be defined in your Lovelace
@ -21,11 +22,11 @@ blueprint:
source_url: https://community.home-assistant.io/t/cast-and-re-cast-a-lovelace-view-to-a-google-hub/259631 source_url: https://community.home-assistant.io/t/cast-and-re-cast-a-lovelace-view-to-a-google-hub/259631
trigger: trigger:
- platform: state - platform: state
entity_id: !input 'player' entity_id: !input player
to: 'off' to: 'off'
for: 00:00:20 for: 00:00:20
- platform: state - platform: state
entity_id: !input 'player' entity_id: !input player
to: paused to: paused
for: 00:00:20 for: 00:00:20
- platform: time_pattern - platform: time_pattern
@ -38,38 +39,38 @@ action:
- condition: or - condition: or
conditions: conditions:
- condition: state - condition: state
entity_id: !input 'player' entity_id: !input player
state: 'off' state: 'off'
- condition: state - condition: state
entity_id: !input 'player' entity_id: !input player
state: paused state: paused
for: 00:00:20 for: 00:00:20
sequence: sequence:
- service: media_player.volume_mute - service: media_player.volume_mute
data: data:
is_volume_muted: true is_volume_muted: true
entity_id: !input 'player' entity_id: !input player
- service: media_player.turn_off - service: media_player.turn_off
data: data:
entity_id: !input 'player' entity_id: !input player
- delay: - delay:
seconds: 2 seconds: 2
- service: media_player.turn_on - service: media_player.turn_on
data: data:
entity_id: !input 'player' entity_id: !input player
- service: cast.show_lovelace_view - service: cast.show_lovelace_view
data: data:
view_path: !input 'view' view_path: !input view
dashboard_path: !input 'dashboard' dashboard_path: !input dashboard
entity_id: !input 'player' entity_id: !input player
- service: cast.show_lovelace_view - service: cast.show_lovelace_view
data: data:
view_path: !input 'view' view_path: !input view
dashboard_path: !input 'dashboard' dashboard_path: !input dashboard
entity_id: !input 'player' entity_id: !input player
- delay: - delay:
seconds: 10 seconds: 10
- service: media_player.volume_mute - service: media_player.volume_mute
data: data:
is_volume_muted: false is_volume_muted: false
entity_id: !input 'player' entity_id: !input player