iOS icon indicating copy to clipboard operation
iOS copied to clipboard

When the shortcut fails, the HA application will execute it anyway after some time

Open BitterRose opened this issue 4 months ago • 0 comments

iOS device model, version and app version

Model Name: iPhone 14 Pro Max Software Version: iOS 18.1 (22B5069a) App version: 2024.9.4 (2024.905)

Home Assistant Core Version

2024.7.4

Describe the bug

When I execute a shortcut from the "shortcuts" application and I do not have a connection to the HA instance, the shortcuts application will report an execution error. When I reconnect to my instance (even after an hour), the action that I started earlier will execute. It looks like queuing commands in the HA application.

To Reproduce

  1. Turn off mobile data and WiFi.
  2. Run a shortcut in the "shortcuts" app.
  3. Wait for the app to report an execution error.
  4. Put the phone away and wait a few minutes.
  5. Turn on mobile data and WiFi (so that it has access to HA).
  6. The action called earlier should execute (if it did not, you should enter the app, because iOS can kill it quite effectively).

Expected behavior

If the "shortcuts" application reports an execution error, the action should not be queued in the HA application

Screenshots

image

image

Additional context

I've had this bug for a while now. I've tested it on different iPhone models, iOS, HA apps, and core versions.

BitterRose avatar Oct 17 '24 18:10 BitterRose