05-01-2024 10:24 AM
I'm setting up a basic morning alarm routine. Each day at noon it is supposed to set an alarm for the following morning and send me a confirmation notification.
The script is executing and successfully sending the notification, but it is not setting the alarm. I can't understand why. Can anyone see any glaring errors?
metadata:
name: Weekday Morning Alarms
description: Each day at 12pm, set an alarm for the next weekday and send a notification.
automations:
- starters:
- type: time.schedule
at: 12:00 PM
weekdays:
- SUN
- TUE
- WED
- THU
actions:
- type: assistant.command.OkGoogle
devices:
- Bedroom home speaker - Bedroom
okGoogle: Set an alarm for 8:30 AM tomorrow
- type: home.command.Notification
title: Alarm Set
body: Alarm Set for Tomorrow at 8:30
- starters:
- type: time.schedule
at: 12:00 PM
weekdays:
- MON
actions:
- type: assistant.command.OkGoogle
devices:
- Bedroom home speaker - Bedroom
okGoogle: Set an alarm for 7:15 AM tomorrow
- type: home.command.Notification
title: Alarm Set
body: Alarm Set for Tomorrow at 7:15