v2.0.5 — ack-driven valve off-timer (proxy-timeout resilient)
What's Changed
Bug Fixes
- The valve off-timer is now driven by the device's own command acknowledgement, so a watering cycle ends on schedule even when the BLE write-response times out (notably through an ESPHome Bluetooth proxy). Previously the off-timer (
expected_off_at/seconds_remaining) was only armed after a cleansend()return; if the GATT write-response didn't come back, the command surfaced as failed and the timer never started — even though the device had received the command and acked it. Home Assistant now reads the device's START/STOP ack notifications, arms the duration-based off-timer from them, and refreshes the valve immediately. The valve auto-closes at the commanded duration as expected, and the write-response timeout no longer shows as a failed service call. The BLE protocol/frames are unchanged — this only changes how state is tracked. (#9)
Maintenance
- Bump
manifest.jsonversion to match the release tag.
Full Changelog: v2.0.4...v2.0.5