EV-52: log one plain INFO line when the add-on writes a new car current, and one when the car mode changes. Logging only: R2, no control change.
Car: set from 10 A to 6 A on 1 phase (Manual). / Car: set to 6 A on 1 phase (Manual). / Car: set to 6 A (Manual). after a write the charger took. Reasons: Manual, Solar, peak cut, start-up, shutdown.
Car mode is now Manual. at each mode change and once at start-up (only with a charger set up).
A refused or failed write keeps its warning and logs no "set" line. A write taken late logs its line once, at the accept (PM ruling Q2).
Wired in ManualWriter._write (the one write site); callers pass the reason and phase count. Mode line in _car_action and car_init.
Same writes at the same times as base: test_ev52.py T43/T45 compare against lists taken on 02166e2.
Tests: new goodwe_controller/test_ev52.py (T1-T45, N1-N11 of the test plan). Brief v2, ticket EV-52.
EV-52: log one plain INFO line when the add-on writes a new car current, and one when the car mode changes. Logging only: R2, no control change.
- `Car: set from 10 A to 6 A on 1 phase (Manual).` / `Car: set to 6 A on 1 phase (Manual).` / `Car: set to 6 A (Manual).` after a write the charger took. Reasons: Manual, Solar, peak cut, start-up, shutdown.
- `Car mode is now Manual.` at each mode change and once at start-up (only with a charger set up).
- A refused or failed write keeps its warning and logs no "set" line. A write taken late logs its line once, at the accept (PM ruling Q2).
- Wired in `ManualWriter._write` (the one write site); callers pass the reason and phase count. Mode line in `_car_action` and `car_init`.
- Same writes at the same times as base: `test_ev52.py` T43/T45 compare against lists taken on 02166e2.
Tests: new `goodwe_controller/test_ev52.py` (T1-T45, N1-N11 of the test plan). Brief v2, ticket EV-52.
🤖 Generated with [Claude Code](https://claude.ai/code)
https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
EV-52: log one plain INFO line when the add-on writes a new car current, and one when the car mode changes. Logging only: R2, no control change.
Car: set from 10 A to 6 A on 1 phase (Manual)./Car: set to 6 A on 1 phase (Manual)./Car: set to 6 A (Manual).after a write the charger took. Reasons: Manual, Solar, peak cut, start-up, shutdown.Car mode is now Manual.at each mode change and once at start-up (only with a charger set up).ManualWriter._write(the one write site); callers pass the reason and phase count. Mode line in_car_actionandcar_init.test_ev52.pyT43/T45 compare against lists taken on02166e2.Tests: new
goodwe_controller/test_ev52.py(T1-T45, N1-N11 of the test plan). Brief v2, ticket EV-52.🤖 Generated with Claude Code
https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w