Announce Sonos Alarm by Talvish
This blueprint is used to add a script that will announce when the next alarm is set on the specified Sonos speaker. If the alarm is less than two hours away it will indicate how long until it rings. Otherwise the alarm will indicate the time when the alarm is set using a 12 hour format (e.g. 1 AM vs 1 PM). If it cannot find an alarm it will indicate that as well.
The script will gracefully handle when speakers are in groups, and restore playing music after it announces the alarm.
This is helpful as part of an automation when going to bed so you don't need to use a phone app to see when/if an alarm is set.
I recommend setting the mode to parallel if you will use this script on more than one speaker.
Import to Home Assistant
Click to import this blueprint directly into your Home Assistant instance.
Configuration
Requires 0 inputs to configure
Source Code
View on GitHubDetails
Related Blueprints
More device control automations you might like
Motion-activated Light
Example Automation Blueprint
On-Off schedule with state persistence
On-Off schedule with state persistence
A simple on-off schedule, with the addition of state persistence across disruptive events, making sure the target device is always in the expected state. š Full documentation regarding this blueprint is available here. š This blueprint is part of the Awesome HA Blueprints project. ā¹ļø Version 2021.10.26Simple Safe Scheduler
Simple Safe Scheduler
Scheduling a periodic action in Home Assistant might be trickier than what it looks at first glance. Not only the available automation triggers are limited to only time-based schedules (requiring the user to either use template triggers or install additional integrations for more complex scheduling options), but they also do not guarantee that the automation is executed at the provided time. As an example, let's assume automation A is scheduled to run at 12:00. If the Home Assistant server goes down at 11:59 due to a disruptive event (e.g. power outage, planned maintenance, hardware failure etc.) and comes back up at 12:01, the A automation run scheduled for 12:00 would simply be skipped, without any warning to the user. The Simple Safe Scheduler blueprint tries to mitigate scheduling limitations in Home Assistant by providing an easy interface to configure periodic actions, with built-in safety checks to ensure the action actually runs even in case of a disruptive event. The configured automation acts as a simple scheduler, allowing to flexibly program any kind of action based on the following parameters:- Time of the day (dynamically provided as an
input_datetimeentity); - Day of the week (multiple days can be selected);
- Week frequency (allowing to schedule the action to run i.e. every 2 weeks).