Skip to content

Commit 5e28cb4

Browse files
vinceg0267TCWORLD
andauthored
Update custom_components/solax_modbus/plugin_sofar.py
Co-authored-by: Tom Carpenter <T.Carpenter@leeds.ac.uk>
1 parent 780be39 commit 5e28cb4

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
@@ -789,7 +789,7 @@ def value_function_sync_rtc_ymd_sofar(initval: Any, descr: Any, datadict: dict[s
789789
),
790790
SofarModbusSelectEntityDescription(
791791
name="Energy Storage Mode",
792-
key="charger_use_mode_x1", # <--- Chiave univoca per X1
792+
key="charger_use_mode",
793793
register=0x1110,
794794
option_dict={
795795
0: "Self Use",

0 commit comments

Comments
 (0)