All, I have a “snooze” script, that calls 2 other scripts. Something is weird, when the parent script calls the nested scripts they execute but “turn off” when finished an also turn of entities on which the nested script operates.
Parent script:
alias: Bedroom Alarm Snooze
sequence:
- service: script.bedroom_alarm_off
data: {}
- delay:
hours: 0
minutes: 4
seconds: 0
milliseconds: 0
- service: script.bedroom_alarm_kink
data: {}
mode: single
icon: mdi:alarm-snooze
Stop Alarm scipt:
alias: Bedroom Alarm Off
sequence:
- service: media_player.media_stop
data: {}
target:
entity_id: media_player.slaapkamer_speaker
mode: single
icon: mdi:alarm-note-off
Start Alarm script:
alias: Bedroom Alarm Kink
sequence:
- service: media_player.volume_set
data:
volume_level: 0.1
target:
entity_id: media_player.slaapkamer_speaker
- service: media_player.play_media
data:
media_content_id: https://playerservices.streamtheworld.com/pls/KINK.pls
media_content_type: "'audio/mp4'"
extra:
thumb: https://kink.nl/static/icon.png
title: KINK
target:
entity_id: media_player.slaapkamer_speaker
mode: single
icon: mdi:alarm-note
These turn off actions shouldn’t happen, any help appreciated! Thanks!