feat: adds water valves support#198
Conversation
.ts files could not be used in Github Actions CI/CD environment
Feat/cicd
feat: adds vacuum badges
feat: adds valve support
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| ErrorProne | 1 high |
🟢 Metrics 99 complexity · 6 duplication
Metric Results Complexity 99 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.
|
Beinhaltet die CICD Changes aus #196 , also erst CICD mergen |
…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
|
Heads-up @romulus-ai — #199 contains all the valves work from this PR plus 3 additional commits adding vacuum support. Integrating #199 into my fork covered everything this PR adds. Worth closing #198 in favour of #199 to keep the review queue manageable? 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 Wasserventile hinzu
Test plan
npm run buildlaeuft ohne Errors/Warnings