Skip to content

2026.4.0

Choose a tag to compare

@Superkikim Superkikim released this 25 Apr 10:45

What's new

Fix: lost BLE release no longer leaves state machine stuck

When a release BLE packet is dropped (common on 2.4 GHz), the integration now recovers automatically. After a long_press fires, an 8-second watchdog timer starts. If no release arrives within that window, a synthetic long_release is emitted and the state is reset — so automations that stop on long_release (e.g., dimmers) will work correctly even with BLE packet loss.

Tests

Added 7 unit tests covering the full press/release/long_press state machine, including the watchdog scenario.