From e7ae5451d7b34daaa28e6630a77c0260712cff2e Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Wed, 25 Mar 2020 21:57:13 -0400 Subject: [PATCH] Chromecast keeps going offline. This will switch house audio to google devices --- config/packages/notify.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/config/packages/notify.yaml b/config/packages/notify.yaml index 11d1830..9886e31 100755 --- a/config/packages/notify.yaml +++ b/config/packages/notify.yaml @@ -56,6 +56,27 @@ notify: - platform: alexa_media name: alexa_media + +automation: + + - id: audio_isssue + alias: Audio Issue + initial_state: true + trigger: + - platform: state + entity_id: media_player.theater + to: 'unavailable' + action: + - service: input_boolean.turn_off + entity_id: input_boolean.audible_notifications + - service: script.text_notify + data_template: + who: "jeff" + title: "Audio Issue" + message: "HA Audioble Notifications turning off due to Chromecast Issue" + + + script: