HA: Roborock single-card redesign with Browser Mod popup (presets + room cleaning)
ci/woodpecker/push/woodpecker Pipeline was successful

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Kaloyan Danchev
2026-07-30 14:14:56 +03:00
parent ce7095f0ac
commit 59f71e95bd
+4
View File
@@ -5,6 +5,10 @@
---
## 2026-07-30
### Roborock: single card + Browser Mod popup (living view redesign)
- **[HA]** Replaced the three stacked vacuum sections (vacuum card + preset buttons + xiaomi-vacuum-map-card) with **one** mushroom-template-card whose tap opens a `browser_mod.popup` (`fire-dom-event`): map (`picture-entity` of the Roborock image entity), status chips (battery / current room / cleaning stats), controls, a 2×2 preset grid (`button.press` on the 4 app presets) and a 3×3 room grid (`vacuum.send_command` / `app_segment_clean`, segment IDs via `roborock.get_maps`).
- **[HACS]** Installed Xiaomi Vacuum Map Card v2.4.1, then abandoned it: the core Roborock integration's `image` entity carries **no calibration data**, so the card always shows "Invalid calibration". Plain `picture-entity` renders the same map cleanly (rooms coloured + robot position), just non-interactive.
### Prism multi-view Mushroom dashboard deployed to HAOS
- **[HA]** Replaced single-column phone view with a 5-view Mushroom dashboard: `home` (chips + greeting + nav + room cards), `living`, `bedroom`, `kids`, `kitchen` sub-views. Each sub-view has back chip, section titles, relevant light/climate/vacuum/appliance controls.
- **[TECHNIQUE]** File-based YAML dashboards (`mode: yaml` in `configuration.yaml`) cannot be saved via `lovelace/config/save` WebSocket. Deployment method: set `init_commands` on the Advanced SSH add-on via `supervisor/api` WebSocket, split base64 into 180 × 80-char chunks, decoded back to YAML on restart. Verified with `lovelace/config` WebSocket — all 5 views loaded correctly.