Repository navigation
Commit 8c9ee90
committed
fix: complete working-mode state table (add Bypass + PV Charge + Bypass)
State 25 (0x19) showed "Unknown (25)". The state register is a proper
enum, not a bitmask, and the previous table was missing several values.
Source: the lxp-bridge Rust implementation's StatusString mapping, which is
more complete than both the HA integration and the prior table.
- Add 0x11 = Bypass, 0x19 = PV Charge + Bypass (the value 25 the user saw).
- Align all labels with the authoritative lxp-bridge names.
- Remove the incorrect bitmask fallback (0x11 = Bypass proves the register
is not a simple bitmask).1 parent 746eced commit 8c9ee90
1 file changed
Lines changed: 14 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
0 commit comments