Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106341

Help with Basic Timer Script

$
0
0

I know i am missing a step for the event when the timer set goes off. I start the 10 min timer as the first action but for the 3rd action i’d like it to wait until the 10 minute timer goes off I just can’t figure out how.

I was jus using a delay for 00:10:00 but that has not been very reliable.

10 Min Timer
sequence:
  - action: timer.start
    metadata: {}
    data: {}
    target:
      entity_id: timer.10_min_timer
    enabled: true
  - data:
      target:
        - media_player.theater_echo
        - media_player.lr_echo
        - media_player.kitchen_echo
        - media_player.bed_echo
        - media_player.office_echo
      data:
        type: tts
      message: 10 Min Timer Started!
    action: notify.alexa_media
  - device_id: 6c788c907b60b0d59d547740f514e371
    domain: mobile_app
    type: notify
    title: 10 Min Timer Started
    message: Started @ {{ now().strftime("%I:%M %p") }}
  - data:
      target:
        - media_player.theater_echo
        - media_player.lr_echo
        - media_player.kitchen_echo
        - media_player.bed_echo
        - media_player.office_echo
      data:
        type: tts
      message: 10 Min Timer is up!
    action: notify.alexa_media
  - device_id: 6c788c907b60b0d59d547740f514e371
    domain: mobile_app
    type: notify
    message: Timer is up
    title: 10 MINS!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>