# Home Assistant automation fails after 10 seconds

**URL:** <https://forum.bondhome.io/t/home-assistant-automation-fails-after-10-seconds/4442>\
**Category:** Integrations\
**Created:** [January 25, 2024, 6:08am UTC](https://forum.bondhome.io/t/home-assistant-automation-fails-after-10-seconds/4442 "2024-01-25T06:08:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lovevas](https://avatars.discourse-cdn.com/v4/letter/l/8e8cbc/32.png) [@Lovevas](https://forum.bondhome.io/u/Lovevas)\
**Post date:** [January 25, 2024, 6:08am UTC](https://forum.bondhome.io/t/home-assistant-automation-fails-after-10-seconds/4442/1 "2024-01-25T06:08:25Z")

</div>

Hi,

I set in home assistant to auto open/close all my shades at certain time. But I noticed that every time it triggers only some of the shades are opened/closed, and the logs shows, HA gets error after 10 seconds.

I wonder if this 10s limit is due to Bond Bridge Pro, or due to HA, and how to fix it? Thanks!

I have 20+ motorized shades that needs to be opened/closed every day.

 ![Screenshot 2024-01-24 at 10.02.59 PM](https://us1.discourse-cdn.com/flex019/uploads/bond1/original/2X/a/a1160c9be6baef3cf53a1906132bc6e24ace878b.png)

---

<div class="post-metadata">

**Author:** ![Lovevas](https://avatars.discourse-cdn.com/v4/letter/l/8e8cbc/32.png) [@Lovevas](https://forum.bondhome.io/u/Lovevas)\
**Post date:** [January 25, 2024, 6:09am UTC](https://forum.bondhome.io/t/home-assistant-automation-fails-after-10-seconds/4442/2 "2024-01-25T06:09:03Z")

</div>

Another screenshot that stops at 9.99s. I have more such logs that shows it gets error at ~10s

 ![Screenshot 2024-01-24 at 10.03.23 PM](https://us1.discourse-cdn.com/flex019/uploads/bond1/original/2X/8/8e9f350bc7c70b8889658b0394c649767e8f1d27.png)

---

<div class="post-metadata">

**Author:** ![Lovevas](https://avatars.discourse-cdn.com/v4/letter/l/8e8cbc/32.png) [@Lovevas](https://forum.bondhome.io/u/Lovevas)\
**Post date:** [January 25, 2024, 6:49am UTC](https://forum.bondhome.io/t/home-assistant-automation-fails-after-10-seconds/4442/3 "2024-01-25T06:49:28Z")

</div>

I think alternative options is to split the actions into 2-3 automations, and have some delay, so each time, it sends a fewer to Bond to not exceed 10s. But I’d like to see better solution than this

---

<div class="post-metadata">

**Author:** ![merck](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/merck/32/1238_2.png) [@merck](https://forum.bondhome.io/u/merck)\
**Post date:** [February 22, 2024, 9:00pm UTC](https://forum.bondhome.io/t/home-assistant-automation-fails-after-10-seconds/4442/4 "2024-02-22T21:00:25Z")

</div>

More than 10 parallel connection attempts will probably error out, because the Bond only handles one request at a time (single-threaded HTTP server), so the other connections just keep trying. This doesn’t bother the Bridge but it may time out on the HA side. May be better to serially make the requests, or use at most 2 simultaneous HTTP requests as we do on the Bond Home app.
