Morning Automation Setup and Blueprint Tips

Good morning everyone! I wanted to share my experience setting up a morning automation routine using Home Assistant. It’s been a game-changer for starting my day smoothly. :sun_with_face:

I recently tried creating a custom blueprint to automate my Philips Hue lights and Ecobee thermostat. Initially, I faced some challenges with dynamic options, but thanks to the community, I found a solution using list comprehensions. Here’s a snippet of my working code:

yaml
blueprint:
name: Morning Routine
description: Automatically turns on lights and adjusts thermostat in the morning
domain: automation
input:
wake_time:
name: Wake Time
description: The time you want to wake up
type: time
brightness:
name: Brightness Level
description: Set your desired brightness
type: number
default: 50
trigger:
- platform: time
at: !input.wake_time
action:
- service: light.turn_on
data:
entity_id: light.bedroom_lights
brightness: !input.brightness
- service: climate.set_temperature
data:
entity_id: climate.ecobee_thermostat
temperature: 72

One tip I learned is to use default values for inputs to make the blueprint user-friendly. Also, ensuring all services and entities are correctly referenced prevents errors. I’d love to hear how others are customizing their morning routines or any blueprint hacks you’ve discovered! :handshake:

For those interested, I also found that using delayed actions can help if your devices take time to respond. For example, adding a 10-second delay after turning on the lights before adjusting the thermostat ensures everything starts smoothly. :clock3:

If you have any questions or need help troubleshooting your blueprints, feel free to ask! Happy automating! :rocket: