Do automations get FASTER in Home assistant with Parallel actions?

Поділитися
Вставка
  • Опубліковано 5 жов 2024

КОМЕНТАРІ • 16

  • @SmartHomeMakers
    @SmartHomeMakers  Рік тому +1

    You can find the code in my blog post! leonardosmarthomemakers.com/how-to-speed-up-home-assistant-automations-with-parallel-runs/

  • @AntonioVillanuevaB
    @AntonioVillanuevaB Рік тому +1

    I want to thank you for your excellent videos. Just when I think I've made progress and understand the system, you always teach me something new. 🎉

  • @Sparky_D
    @Sparky_D Рік тому +1

    I use parallel actions where there is a long list of things to do which have time delays in them so that the delays in one section don't affect the other

  • @JamieVids76
    @JamieVids76 Рік тому

    I had a failure which meant I had to start over again with HA (my backups were also corrupt). I used to use node red but decided to give native automations a go, I found that using parralell mode allowed me to nest all parts of the automation instead of having 5 separate automations. It's worked really well for me

    • @SmartHomeMakers
      @SmartHomeMakers  Рік тому

      Sounds great Jamie, it is really easy to switch between parallel and sequential even in the UI, I was convinced it could only work in YAML

  • @robert.wigley
    @robert.wigley Рік тому

    When did this get added, or has it been there forever and a day? I did not know it existed, so thank you for pointing this out. I'm sure I can find a few automations where I can make use of it to speed things up a little, mainly where I've had to add a delay for something.

    • @SmartHomeMakers
      @SmartHomeMakers  Рік тому +1

      I think recently it has been added to the UI, it has been in yaml for a while!

  • @Saturn2888
    @Saturn2888 4 місяці тому

    What I'd like to know is how to setup "if button pressed, turn on scene, but if other button is pressed, turn off that scene or at least all the lights in the room" without having to be 2 automations.

    • @SmartHomeMakers
      @SmartHomeMakers  3 місяці тому

      You can do that within home assistant or node red

  • @KeyLynxAutomation
    @KeyLynxAutomation Рік тому

    How do you continue do execute sequential actions within each branch of the parallel actions?

  • @ronm6585
    @ronm6585 Рік тому

    Thank you.

  • @PauloAbreu
    @PauloAbreu Рік тому

    Considering HA is written in Python, I wonder whether there is anything in the Python language that effectively runs things in parallel or if it just an abstraction and code is always sequential 🤔