From 440ff22bda091e9474618e8674177aaf69b7dbd5 Mon Sep 17 00:00:00 2001 From: Tobi G Date: Thu, 13 Aug 2026 20:52:07 +0200 Subject: [PATCH] EU-Data-Act-Reste bereinigt, Slider-Bug behoben, zwei Design-Audit-Runden umgesetzt Entfernt die letzten Verweise auf die abgeloeste TommiG1/HA_VAG-EU-Data-Act- Integration (Versionstile, Testumgebungs-Fixture) und ersetzt sie durch die FMM003-Werte. Behebt eine CSS-Spezifitaetskollision, durch die alle iOS- Toggle-Switches viel zu breit gerendert wurden. Dokumentiert und behebt sieben Layout-Befunde aus zwei Design-Audit-Runden (Zahnrad-Ueberlauf auf breiten Bildschirmen, zu kleine Ringe als mobiler Einstellungen-Zugang, zu breite Popups, Kopfzeilen-Versatz, ueberlappende Kachel-Pfeile, fehlender Editierbarkeits-Hinweis bei Auswahlfeldern, Haekchen-artige Auf/Zu-Pfeile) - siehe DESIGN_AUDIT_2026-08-13.md fuer Root-Cause und Beleg je Befund. Co-Authored-By: Claude Sonnet 5 --- AGENTS.md | 75 ++++++- DESIGN_AUDIT_2026-08-13.md | 191 ++++++++++++++++++ homeassistant/www/audi-dashboard-app.js | 4 +- homeassistant/www/audi-dashboard-ios.css | 41 +++- homeassistant/www/audi-dashboard-version.json | 2 +- homeassistant/www/audi-dashboard.css | 21 +- testumgebung/README.md | 35 ++-- testumgebung/konfiguration.yaml | 26 +-- 8 files changed, 353 insertions(+), 42 deletions(-) create mode 100644 DESIGN_AUDIT_2026-08-13.md diff --git a/AGENTS.md b/AGENTS.md index 870b02f..5e98cbb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,7 +1,10 @@ # AGENTS.md — Project state, review findings, open items, and working rules **Last updated: 2026-08-13** (merged the `umsetzung-datametric360` branch — companion app phases -1–10 done, see `UMSETZUNGSPLAN.md`). This file is the entry point for every new agent +1–10 done, see `UMSETZUNGSPLAN.md`; later the same day: cleaned up remaining EU Data Act residue, +fixed oversized toggle switches, and fixed a desktop-layout audit (settings button / rings logo / +popups overflowing past the capped content column) — see `DESIGN_AUDIT_2026-08-13.md` and section +C). This file is the entry point for every new agent session: what this repo is, what is finished, what is missing, and how to work here. Detail lives in the linked documents — this file points, it does not duplicate. @@ -528,6 +531,76 @@ wraps the web app for iPhone; a PWA home-screen install is the accepted intermed Abbrechen/Speichern and the "Einrichten"/"Setup"/"Fertig" buttons in Einstellungen render with the corrected fills at both mobile and desktop widths, switches render green, no console errors. +- [x] Clean up remaining "EU Data Act" residue from the FMM003 pivot (2026-08-13) — the + Einstellungen "Version" tile in `audi-dashboard-app.js` hardcoded `Fahrzeugdaten: EU Data + Act / Abruf alle 15 Minuten` and `Position: iPhone / Companion App`, both stale: vehicle data + and position now come exclusively from the FMM003 (`ZUENDUNG_SENSOR`, `BATTERIE_SENSOR`, + `STANDORT_TRACKER` in `einstellungen.py`), not the abandoned HACS integration or the iPhone. + Both rows now read `FMM003`. Also fixed `testumgebung/konfiguration.yaml` + + `testumgebung/README.md`: the `input_text.test_wlan` / `iPhone WiFi Connection` template + sensor simulated WLAN-based trip detection, fully removed 2026-08-12 (`fahrzeug.wlan_ssid` no + longer exists anywhere) — its "Fahrt auslösen" example was non-functional. Replaced with + `input_boolean.test_zuendung` driving a `binary_sensor.testzone_fmm003_engine_ignition_or_acc_status` + template sensor matching the real `ZUENDUNG_SENSOR` entity ID, so trip detection stays + testable. The remaining KM/Tank/Range/door/window/lock template sensors correctly still + describe the abandoned `TommiG1/HA_VAG-EU-Data-Act` integration (per `einstellungen.py`) and + were left in place — those fields are blank by default but stay manually mappable via the + Setup menu, so the fixtures remain useful for testing that path; comments updated to make + this distinction explicit. +- [x] Fix oversized toggle switches ("Slider") across the app (2026-08-13) — `.feld label` in + `audi-dashboard.css` (`flex: 1 1 auto`, meant to let the *text* label grow so the control + lands at the row's right edge) unintentionally also matched `