home-assistant / home-assistant/iOS
Garage door opens minutes after I gave up — actions silently retried in the background
- Dominant language
- Swift
- Stars
- 2.4k
- Forks
- 520
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 264
Description
**iOS device model, version and app version**
Model Name: iPhone 17 Pro
Software Version: 26.4.2
App version: 2026.4.1
**Home Assistant Core Version**
2026.5.2
**Describe the bug**
I have an action that opens my garage door. When connectivity to HA is poor, the action seems to fail — nothing happens, no feedback. So I move on. Then some time later the door actually opens, on its own, without me knowing.
For a garage door (or a smart lock, or an alarm) this is a real security problem. In the worst case I'm already in bed or on a plane and the door just opens.
Same root cause as the closed #1552, but I'm still seeing it.
**To Reproduce**
1. Turn off Wi-Fi and the VPN, so the phone can't reach HA.
2. Trigger an action (e.g. open garage door).
3. Lock the phone, put it in your pocket, wait.
4. Some minutes later, turn Wi-Fi back on.
5. The action fires on the server — door opens.
I tested with a 5 minute wait and it still went through. Phone was locked and in my pocket the whole time. From the server logs the same call sometimes arrives several times within a few seconds, which is even worse for toggle-style scripts (open → stop halfway → close again, depending on order).
**Expected behavior**
If an action can't be delivered within a short timeout, the app should give up and not silently fire it later.
The timeout must be **user-configurable** (per action, or app-wide with a sensible default of a few seconds). For state-changing actions like doors, "eventually it'll go through" is the wrong default — I'd much rather get a clear error and try again than have it happen unattended later.
**Screenshots**
n/a
**Additional context**
Tested over LTE + WireGuard VPN, but the offline-then-online repro above works without any VPN.
Contributor guide
Assessment
This issue has not been assessed yet.