Skip to content

Commit 1cb35b2

Browse files
authored
fix: update Sofar software_version wordcount to 4
Reduces wordcount from 12 to 4 on register 0x44F. This fixes the software version string triplication issue on Sofar/ZCS HYD inverters.
1 parent 622808a commit 1cb35b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

custom_components/solax_modbus/plugin_sofar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ def value_function_sync_rtc_ymd_sofar(initval: Any, descr: Any, datadict: dict[s
11951195
key="software_version",
11961196
register=0x44F,
11971197
register_data_type=REGISTER_STR,
1198-
wordcount=12,
1198+
wordcount=4,
11991199
entity_category=EntityCategory.DIAGNOSTIC,
12001200
allowedtypes=HYBRID | PV,
12011201
),

0 commit comments

Comments
 (0)