How to Build Smarter Home Assistant Automations With Choose @SlackerLabs
How to Build Smarter Home Assistant Automations With Choose  @SlackerLabs
Uploaded December 2020 | Updated September 2026, 3 weeks ago
In a previous post, I talked about how you could use scripts with your Home Assistant automations to add some simple decision logic. But in keeping with the Choose-Your-Own adventure take on building a smart home, Home Assistant gives you another way to accomplish the same thing.

Back in version .113, the Home Assistant team added the “choose” action to automations. This gave us the ability to drop in an if-then style of decision logic into the action section of automations.

Prior to this, you had to write the logic out using programming syntax or use a series of scripts as I detailed in the other video.

And you can take advantage of this action right in the Automation panel in Home Assistant which means you can get complex without ever touching a YAML file.

To help visualize how this choose action works, I made a short video walking you through modifying two of my automations to take advantage of this action to reduce the need for multiple automations.

So if you want to learn how to use the choose action to build complex automations in Home Assistant stick around because we are about to automate some boring stuff.

Video Chapters:

00:00 - Using Choose in Home Assistant Automation - Intro
01:45 - Build an Automation with Choose Action
03:44 - Use Trigger Attributes in Home Assistant Automation
07:31 - Final Thoughts on Using Choose in Automations

-------------------------------------------------------------------------------------------------------------------
Who am I?

My Name is Jeff. I am an Automator of boring things and a huge Home Assistant fan. I also live in a house that tweets.

My Home Automation Gear (Affiliate Links):
github.com/thejeffreystone/home-assistant-configuration#devices

Follow Me:
Github - github.com/thejeffreystone
Twitter - twitter.com/thejeffreystone / twitter.com/slackerlabs
On the Web - slacker-labs.com
My House - twitter.com/anchoragehouse2

Support the Cause:
Buy me a Coffee - buymeacoffee.com/icE6DeBut

Buy some gear for your smart home using my Amazon affiliate link - amazon.com/s/ref=as_li_ss_tl?k=Home+Automation&ref=nb_sb_noss_2&linkCode=ll2&tag=thejeffreysto-20&linkId=18622d75c4923c69c2b7488cec58ad5e&language=en_US
The affiliate link provides a small commission on things you buy without additional cost to you.
How to Build Smarter Home Assistant Automations With Choose5 Things Home Assistant Needs This YearHow to Use Automation Modes in Home AssistantMigrating from a Raspberry Pi to Home Assistant BlueMatter is NOT Coming for Your Smart Home5 Ways to Automate the Boring StuffAre Two Lenses Better than one? A Slacker Labs Look at the Reolink DuoAutomate Your Holidays with Meross and Home AssistantThe Honiture Q6 Lite Can be controlled by Home Assistant!Adding Local Tuya Devices (Dekala Arkenstone Lamp)Automate your House just by adding Devices to Home Assistant!Reviewing the S21 Outdoor Security from X-Sense
SlackerLabs |

How to Build Smarter Home Assistant Automations With Choose

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER