Skip to content

feat: adds vacuum robot batches#199

Open
romulus-ai wants to merge 34 commits into
TheRealSimon42:mainfrom
romulus-ai:feat/vacuum
Open

feat: adds vacuum robot batches#199
romulus-ai wants to merge 34 commits into
TheRealSimon42:mainfrom
romulus-ai:feat/vacuum

Conversation

@romulus-ai
Copy link
Copy Markdown

@romulus-ai romulus-ai commented Apr 18, 2026

Summary

Fügt konfiguration für Saugroboter hinzu und badges oben um den Saugroboter in einem bestimmten bereich zu starten

Test plan

  • npm run build laeuft ohne Errors/Warnings
  • Dashboard laedt fehlerfrei (kein Timeout, keine Console-Errors)
  • Strategy-Editor oeffnet sich und Einstellungen sind funktional
  • Smoke Test: Alle Views kurz pruefen (Overview, Lichter, Rollos, Raum-Detail)
  • Betroffene Views/Cards ausfuehrlich getestet

@romulus-ai
Copy link
Copy Markdown
Author

Beinhaltet die CICD Changes aus #196 , also erst CICD mergen

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 18, 2026

Not up to standards ⛔

🔴 Issues 1 high

Alerts:
⚠ 1 issue (≤ 0 issues of at least minor severity)

Results:
1 new issue

Category Results
ErrorProne 1 high

View in Codacy

🟢 Metrics 104 complexity · 6 duplication

Metric Results
Complexity 104
Duplication 6

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@romulus-ai romulus-ai changed the title Feat/vacuum feat: adds vacuum robot batches Apr 20, 2026
TheDave94 pushed a commit to TheDave94/oriel-dashboard that referenced this pull request May 18, 2026
…us-ai)

Supersedes TheRealSimon42#198 (which is a subset of TheRealSimon42#199 — same valves diff plus 3
extra commits adding vacuum support). Pulled both:

- ValvesViewStrategy.ts: dedicated valves summary view
- RoomViewStrategy.ts: vacuum control badges (clean/pause/stop/return/
  fan-speed) per room when a vacuum is assigned to the area
- types/strategy.ts: 'valves' added to SummaryType + show_valves_summary
  config field
- editor: 'valves' summary toggle + room-level toggles

Conflict resolution against my prior commits:
- Kept TheRealSimon42#200's sophisticated battery handling (switch statement with
  _batteryPair.status + getBatteryStatusDisplay), added a 'valves' case
- Kept my weather_presentation dropdown + show_energy_distribution_card
  + show_unknown_battery_group editor pieces, layered TheRealSimon42#199's energy
  sub-toggle alongside
- Kept TheRealSimon42#191's getAreasRoomPins helper alongside TheRealSimon42#199's vacuum helpers
- Resolved fan-handling: TheRealSimon42#202 moved fans to climate group; TheRealSimon42#199 still
  treated them as misc — kept TheRealSimon42#202's removal of fan-in-misc

webpack.config.ts kept (TheRealSimon42#199 used .js because it depends on PR TheRealSimon42#196
which I'm skipping).
TheDave94 pushed a commit to TheDave94/oriel-dashboard that referenced this pull request May 18, 2026
…lSimon42#191, TheRealSimon42#199 from contributors

Merged in dependency order with manual conflict resolution. Source diffs only —
dist/ rebuilt locally to avoid binary-merge mess.

- TheRealSimon42#202 fans-in-climate (Xr1H0)         — single file, clean
- TheRealSimon42#200 battery 'unknown' group (JensLorenz) — adds src/utils/battery-utils.ts
- TheRealSimon42#191 room pins push to top (FjedorGaede)  — single file
- TheRealSimon42#199 vacuum + valves (romulus-ai, superset of TheRealSimon42#198)  — conflicts resolved
        against weather_presentation, TheRealSimon42#200, TheRealSimon42#191, TheRealSimon42#202

Skipped:
- TheRealSimon42#209 (air-heat-cam) — 64 editor conflicts; needs upstream-side rebase first
- TheRealSimon42#139 (light group depth) — major editor refactor, file-split; conflicts
- TheRealSimon42#194 / TheRealSimon42#196 (CI/CD)  — overlaps with my TheRealSimon42#226 + TheRealSimon42#228 already deployed
@TheDave94
Copy link
Copy Markdown

TheDave94 commented May 18, 2026

Integrated into my fork's main as the superset of #198 (you have 3 additional commits containing the same valves diff plus vacuum). Conflicts against my prior commits resolved as follows:

npm test (25/25) and npm run build both green after integration. Codacy note: the upstream fail is in unrelated commits before 641c576 — a rebase + clean push should reset it.

Also: #198 looks fully subsumed by #199 — closing #198 would help keep the review queue tidy. Thanks @romulus-ai for both valves and vacuum.

— integrated by @TheDave94 into a fork at https://github.com/TheDave94/simon42-dashboard-strategy (alongside #202, #200, #191 plus my own #225#228).


AI-drafted under human supervision by @TheDave94. Tested live on Home Assistant — fully when the relevant hardware is available, otherwise only along the code paths that don't require an actual sensor of that type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants