Files
ev-solar-charger/custom_components
naps62 a642631058
test / test (push) Has been cancelled
fix: Mode.OFF no longer triggers redundant turn_off writes
The gate-reset condition was matching Mode.OFF (sub_mode=DISABLED,
write_action=NONE) and clearing last_desired_amps each tick, causing
the next tick to re-issue switch.turn_off. Disambiguate by checking
desired_amps is None — only the true gate-closure path returns None.

Also removes now-unused SubMode import from coordinator.py.
2026-05-27 16:06:34 +00:00
..