Commit 265429b
authored
fix: Rename stop option to standby in select definitions (#188)
This change updates the option name from "stop" to "standby" across
multiple register configuration files (a.yaml, e_v12.yaml, e_v3.yaml)
for the Marstek Modbus integration.
The modification affects the SELECT_DEFINITIONS section where the option
value 0 is now labeled as "standby" instead of "stop", maintaining
consistency with the translation files.
see e.g.:
https://github.com/ViperRNMC/marstek_venus_modbus/blob/c3026922ee0da25e9036bbdcbfbf029733a2a3c2/custom_components/marstek_modbus/translations/en.json#L542
Only the register file of the "D" was correct before:
https://github.com/ViperRNMC/marstek_venus_modbus/blob/c3026922ee0da25e9036bbdcbfbf029733a2a3c2/custom_components/marstek_modbus/registers/d.yaml#L711
This will fix the wrong translation on the UI
<img width="262" height="193" alt="image"
src="https://github.com/user-attachments/assets/1c3f36d3-f4bc-4659-8aa8-35e749c48970"
/>3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1383 | 1383 | | |
1384 | 1384 | | |
1385 | 1385 | | |
1386 | | - | |
| 1386 | + | |
1387 | 1387 | | |
1388 | 1388 | | |
1389 | 1389 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
| 484 | + | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
586 | | - | |
| 586 | + | |
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
| |||
0 commit comments