3min chapter

Home Assistant Podcast cover image

2023.7 – Home Assistant…Returns? Responds back?

Home Assistant Podcast

CHAPTER

How to Use Scripts to Automate Automation

I just didn't know if you had a better delineation of where you use one versus the other. For me, it's like reusability also, once again, going based from programming terms,. I use it as a function as well. Like scripts can take variables. So instead of having an automation for each speaker to do that, I have one automation and depending on which room is then moved into,  it will go, okay, the motion sensor in the living room was activated. And therefore you need to change the status of the play bar or whatever.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode