[IRRIGOAPI-112] Add makeConfirmedOpen to prevent open failures leaving valves stuck on. #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "bug/IRRIGOAPI-112"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After openZone exhausts retries, read the relay's actual state before surfacing
the error. If the relay is 'on' (it toggled despite the HA error), treat as a
successful open so the close timer is always scheduled. Mirrors makeConfirmedClose
(API-106) which already handles this pattern on the close side.
Wire the confirmed-open wrapper in bootstrap.ts alongside the existing
makeConfirmedClose so every daemon open path benefits automatically.