feat: Flow 2 diagnostics, discovery, and live-state improvements#35
feat: Flow 2 diagnostics, discovery, and live-state improvements#35StratoGh0st99 wants to merge 1 commit into
Conversation
|
@Anaxagoras-bc I just created a new pr and rebuild my fork. |
|
@StratoGh0st99
|
|
@StratoGh0st99 Your PR is working quite well, the cleaning activity is more accurate. On a side note, have you figured out what the command for End "dust bag drying/disinfection" is from the app to the robot. Cannot figure out how to stop that process. |
I believe you need to be on Home Assistant 2026.3 at least for the following to work: Click on "Vacuum" (in Steuerelemente) then at the pop up that opens you should see a button called "Cleaning by area" probably translated to German for you). The first time you click it you should be given the option to assign rooms from the vacuum to the area rooms of your home assistant. I tried it once and it initiated fine, I had a weird audio glitch like the vacuum tried to communicate something to me but it cut off and repeated over and over. Lasted for a few seconds then the vacuum cleaned the mop and continued.
|
|
@saeft2003 My screenshot is from webview which is probably why it looks different but yeah I also see the old version number, even though I did remember needing to distinctly upgrade to the most recent version once it appeared as an update in HA.
|
|
@saeft2003 silly question but did you try restarting the integration and /or Home Assistant after you assigned the zones? If that doesn't work, you probably need more directed from @StratoGh0st99. Maybe best to open a new issue on his fork repo for it? |
|
Thanks for consolidating this work — it's clearly substantial (+3,806 / −313). To get it merged without a slow back-and-forth, can you split it into separate PRs by feature area? Suggested cuts:
That lets us ship the safe pieces immediately while we review the larger ones. Diagnostic entities alone would close most of the open Flow 2 feature requests. If splitting is too much effort I'll review as a monolith, but turnaround will be slower. Also flagging: PR #24 (current_room sensor) and #20 (now merged) touch overlapping areas — wherever there's overlap, the version in master wins to keep history sane. |
|
After restarting Home Assistant, regardless of which room I select in Home Assistant, a cleaning cycle for three rooms is always started. These three rooms are my first shortcut in the Narwal app. Unfortunately, I can't open an issue in the fork; it's not available there. @StratoGh0st99
|
…37) @saeft2003 reported on PR #35 that HA room cleans were ignoring the selection and always running the first Narwal-app shortcut instead. Same firmware-schema root cause as #36 — the legacy flat-room schema in _build_room_clean_payload is rejected (or ack-and-ignored) by firmware v01.07.22+, so the robot falls back to its onboard default plan. start_rooms() now: 1. Tries the legacy flat-room payload (preserves behavior on older firmware) 2. On NOT_APPLICABLE, retries with _build_clean_payload_v2 populated from the caller-selected room IDs (not all map rooms) Also adds force_v2 kwarg for firmwares that ack the legacy payload with SUCCESS but still ignore the room list — for those, the NOT_APPLICABLE detector can't fire, so callers (or a future config option) can opt straight into v2. 4 new tests cover SUCCESS (no retry), NOT_APPLICABLE (retry with same room IDs), CONFLICT (no retry), and force_v2. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
@saeft2003 — I tracked your room-selection report into a separate bug at #37 and shipped a fix on master in 516ed1c. Same firmware-schema root cause as #36 (the whole-house
This is orthogonal to the rest of PR #35; my comment about splitting the PR still stands. |










Summary
This PR expands Flow 2 support and improves the integration’s local discovery, diagnostics, and state decoding.
Highlights
Notes