feat: adds vacuum robot batches#199
Conversation
.ts files could not be used in Github Actions CI/CD environment
Feat/cicd
feat: adds vacuum badges
feat: adds valve support
|
Beinhaltet die CICD Changes aus #196 , also erst CICD mergen |
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| ErrorProne | 1 high |
🟢 Metrics 104 complexity · 6 duplication
Metric Results Complexity 104 Duplication 6
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.
…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).
…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
|
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:
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. |
Summary
Fügt konfiguration für Saugroboter hinzu und badges oben um den Saugroboter in einem bestimmten bereich zu starten
Test plan
npm run buildlaeuft ohne Errors/Warnings