From b6f3de40dce780fe253360e5f259e4360cb05aa8 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 8 Aug 2022 13:54:53 -0400 Subject: [PATCH] Optionally boot up K's computer when running "Alexa, basement on" --- scripts.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts.yaml b/scripts.yaml index 65944e8..4f3519b 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -250,6 +250,16 @@ basement_on: data: {} target: entity_id: media_player.basement_tv + - delay: + hours: 0 + minutes: 0 + seconds: 1 + milliseconds: 0 + - service: script.activate_alexa_actionable_notification + data_template: + text: 'Would you like me to turn on the computer for Kallen?' + event_id: 'actionable_notification_kallen_computer_on' + alexa_device: "{{ states('sensor.last_alexa') }}" mode: single icon: hue:room-stairs start_youtube_basement: