Fix CHARGER state decode tables (cross-check vs protocol v1.4.15)
The decode tables for registers 15201 (Charger workstate), 15202 (MPPT
state), and 15203 (Charging state) were wrong -- I had derived them
from a misreading of the protocol document and never validated against
the official values.
Correct values from PH1800/PV1800/EP1800/PV3500/EP3500 RS485 Modbus
RTU communication Protocol 1.4.15.xlsx:
15201 Charger workstate:
0=Initialization mode, 1=SelfTest mode, 2=Work mode, 3=Stop mode
(was: 0=Init, 1=Standby, 2=Charging, 3=Fault, 4=Flash)
15202 MPPT state:
0=Stop, 1=MPPT, 2=Current limiting
(was: 0=Stop, 1=Start, 2=Normal work, 3=MPPT limit, 4=Float)
15203 Charging state:
0=Stop, 1=Absorb charge, 2=Float charge, 3=EQ charge
(was: 0=Stop, 1=Precharge, 2=CC, 3=CV, 4=Float, 5=Current derating)
The fix was triggered by the user sharing a Scribd link to the same
protocol document (document 881604771, v1.4.15). The XLSX in the
taHC81/MUST-ESPhome GitHub repo is the same file, so I cross-checked
the new values against the official Unit column.
register-map.md is updated with the corrected tables and a note about
the change for anyone who has old log output.
Live verification: register 15201 returns 1 on this unit when running,
which the new decode correctly renders as 'SelfTest mode'.