Skip to content

Commit 0ce700e

Browse files
committed
Alter Gen6 X1
1 parent b94c95b commit 0ce700e

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

custom_components/solax_modbus/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"iot_class": "local_polling",
1111
"issue_tracker": "https://github.com/wills106/homsassistant-solax-modbus/issues",
1212
"requirements": ["pymodbus>=3.8.3"],
13-
"version": "2025.07.3"
13+
"version": "2025.07.4"
1414
}

custom_components/solax_modbus/plugin_solax.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4284,7 +4284,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict):
42844284
rounding=1,
42854285
allowedtypes=AC | HYBRID,
42864286
),
4287-
SolaXModbusSensorEntityDescription( # unclear why we do not merge with next decl
4287+
SolaXModbusSensorEntityDescription(
42884288
name="Inverter Power",
42894289
key="inverter_power",
42904290
native_unit_of_measurement=UnitOfPower.WATT,
@@ -4293,9 +4293,9 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict):
42934293
register=0x2,
42944294
register_type=REG_INPUT,
42954295
unit=REGISTER_S16,
4296-
allowedtypes=AC | HYBRID | GEN2 | GEN3 | GEN4 | GEN6,
4296+
allowedtypes=AC | HYBRID | GEN2 | GEN3 | GEN4,
42974297
),
4298-
SolaXModbusSensorEntityDescription( # unclear why we do not merge with previous decl
4298+
SolaXModbusSensorEntityDescription(
42994299
name="Inverter Power",
43004300
key="inverter_power",
43014301
native_unit_of_measurement=UnitOfPower.WATT,
@@ -6793,7 +6793,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict):
67936793
native_unit_of_measurement=UnitOfPower.WATT,
67946794
device_class=SensorDeviceClass.POWER,
67956795
state_class=SensorStateClass.MEASUREMENT,
6796-
allowedtypes=AC | HYBRID | GEN5 | X3,
6796+
allowedtypes=AC | HYBRID | GEN5 | GEN6 | X3,
67976797
),
67986798
SolaXModbusSensorEntityDescription(
67996799
name="PV Power Total",

0 commit comments

Comments
 (0)