Helpers and Automations in Home Assistant: Creating an Alarm Clock Part 2

Published at : 18 Dec 2025

In today's video we'll build upon the last video by creating an alarm clock, we'll set up some helpers to set the time and an on/off status in order to trigger an automation. This automation will open our blinds, turn on a light and play some music using the alexa media player integration we installed last video through an amazon echo. As always, thanks for watching and let me know what you guys would like to see in the future down below.

0:00 Intro/Description
0:59 Creating Helpers
2:02 Helper to Dashboard Tips
3:29 Creating the Automation
7:19 Creating Full Alarm Clock on Dashboard
10:40 Final Product/Testing

Items Used in Video (Helps me spend more time creating videos, thank you!):
Amazon Echo Dot(4th Generation): https://amzn.to/3vlziFM
Echo Dot Wall Mount: https://amzn.to/30CmQDB

------------------
Alexa Media Player Service Call:
------------------

entity_id: your echo dot id
media_content_type: AMAZON_MUSIC
media_content_id: song, artist, genre, playlist here

------------------
Switch Value/Icon Template (YouTube won't allow angle brackets, there's only going to be one next to the "icon_template:" line so just check the blog or look up the icon_template formatting you'll see where to put it)
------------------

- platform: template
switches:
alarmed:
value_template: "{{ is_state('input_boolean.alarmedtoggle', 'on') }}"
turn_on:
service: input_boolean.turn_on
data:
entity_id: input_boolean.alarmedtoggle
turn_off:
service: input_boolean.turn_off
data:
entity_id: input_boolean.alarmedtoggle
icon_template:
{% if is_state('input_boolean.alarmedtoggle', 'on') %}
mdi:toggle-switch
{% else %}
mdi:toggle-switch-off
{% endif %}