EV-03: car charger seam, Alfen HA driver, read-only Car card
checks / unit (pull_request) Failing after 37m42s
infra-pin / fresh (pull_request) Successful in 2s

Read-only: nothing in this change writes to the charger.
- app/chargers.py: ChargerDriver, AlfenHaDriver, UnavailableCharger, ChargerReading, CarTracker
- options ev_charger/ev_current_entity/ev_max_a/ev_phases (default off), Settings group, validator, census
- Car card on Home, unreachable row and notification, two-writer info row, MQTT sensors
- car out of the House tile and the house profile
- tools/chargersim.py charger model, test_ev03.py

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ev03-dev
2026-11-15 09:52:15 +01:00
co-authored by Claude
parent 6bf37597f8
commit 89a2eb0b74
30 changed files with 2656 additions and 23 deletions
+23
View File
@@ -872,6 +872,18 @@ options:
# be reached by accident.
shadow_mode: "auto"
# ==========================================================================
# CAR CHARGER - read only (EV-03)
# ==========================================================================
# `off` is the shipped value and means NO CHANGE AT ALL: nothing is read,
# shown or announced, and the House tile and the house profile are as before.
# `alfen_ha` reads the charger through its Home Assistant integration. THIS
# VERSION NEVER WRITES TO THE CHARGER; later cards add the modes.
ev_charger: "off"
ev_current_entity: ""
ev_max_a: 16
ev_phases: "auto"
# ==========================================================================
# ADVANCED - the control law and diagnostics
# ==========================================================================
@@ -1249,6 +1261,17 @@ schema:
# long as nobody notices.
shadow_mode: list(auto|on|off)
# ==========================================================================
# CAR CHARGER - read only (EV-03)
# ==========================================================================
# `ev_current_entity` is the charger's current setpoint; the other entities
# are found from its name. `ev_max_a` may not exceed the charger's own station
# limit (the settings page and the start check read it).
ev_charger: list(off|alfen_ha)
ev_current_entity: str?
ev_max_a: int(6,40)
ev_phases: list(1|3|auto)
# ==========================================================================
# ADVANCED - the control law and diagnostics
# ==========================================================================