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
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner