You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(button): add "Refresh status" button for mowers
Adds a Refresh status button (button.<mower>_refresh_status) for
Luba/Yuka mowers, mirroring the existing spino_refresh_status button
the Spino pool cleaner already exposes.
Pressing it calls coordinator.async_ensure_fresh_state(), which fires a
one-shot report snapshot only when the cached device state is older than
2 minutes (a no-op while a BLE report stream is already feeding fresh
data).
Rationale: the integration is local_push, so a docked/idle mower stops
emitting report_data.dev/.work frames and lawn_mower/activity_mode/
charging/progress freeze at the last snapshot while the connect/RSSI
heartbeat keeps updating. There is currently no user-facing way to pull
a fresh status on demand: homeassistant.update_entity only reads cached
push data, and the map/schedule/RTK sync buttons refresh different data.
The only existing way to force a dev refresh is to send a motion command
(start/dock/pause). This exposes the gentle refresh primitive on its own
so users and automations can bring status current without commanding the
mower, bringing mowers to parity with the Spino.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments