Skip to content

Commit

Permalink
2023.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wills106 authored Dec 1, 2023
1 parent 3815ee3 commit 12ac65a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion custom_components/solax_modbus/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/wills106/homsassistant-solax-modbus/issues",
"requirements": ["pymodbus>=3.5.2"],
"version": "2023.11.5"
"version": "2023.12.1"
}
9 changes: 5 additions & 4 deletions custom_components/solax_modbus/plugin_solax.py
Original file line number Diff line number Diff line change
Expand Up @@ -4608,7 +4608,7 @@ def value_function_remotecontrol_autorepeat_remaining(initval, descr, datadict):
entity_category = EntityCategory.DIAGNOSTIC,
),
SolaXModbusSensorEntityDescription(
name = "battery temp high",
name = "Battery Temp High",
key = "battery_temperature_high",
native_unit_of_measurement = UnitOfTemperature.CELSIUS,
device_class = SensorDeviceClass.TEMPERATURE,
Expand All @@ -4620,7 +4620,7 @@ def value_function_remotecontrol_autorepeat_remaining(initval, descr, datadict):
allowedtypes = GEN4,
),
SolaXModbusSensorEntityDescription(
name = "battery temp low",
name = "Battery Temp Low",
key = "battery_temperature_low",
native_unit_of_measurement = UnitOfTemperature.CELSIUS,
device_class = SensorDeviceClass.TEMPERATURE,
Expand All @@ -4632,7 +4632,7 @@ def value_function_remotecontrol_autorepeat_remaining(initval, descr, datadict):
allowedtypes = GEN4,
),
SolaXModbusSensorEntityDescription(
name = "Cell voltage high",
name = "Cell Voltage High",
key = "cell_voltage_high",
native_unit_of_measurement = UnitOfElectricPotential.VOLT,
device_class = SensorDeviceClass.VOLTAGE,
Expand All @@ -4644,7 +4644,7 @@ def value_function_remotecontrol_autorepeat_remaining(initval, descr, datadict):
allowedtypes = GEN4,
),
SolaXModbusSensorEntityDescription(
name = "Cell voltage low",
name = "Cell Voltage Low",
key = "cell_voltage_low",
native_unit_of_measurement = UnitOfElectricPotential.VOLT,
device_class = SensorDeviceClass.VOLTAGE,
Expand Down Expand Up @@ -6151,6 +6151,7 @@ def determineInverterType(self, hub, configdict):
elif seriesnumber.startswith('H31'): invertertype = HYBRID | GEN4 | X3 # TIGO TSI X3
elif seriesnumber.startswith('H34'): invertertype = HYBRID | GEN4 | X3 # Gen4 X3
elif seriesnumber.startswith('XB3'): invertertype = MIC | GEN2 | X1 # X1-Boost
elif seriesnumber.startswith('XB4'): invertertype = MIC | GEN2 | X1 # X1-Boost G4
elif seriesnumber.startswith('XM3'): invertertype = MIC | GEN2 | X1 # X1-Mini G3
elif seriesnumber.startswith('XM4'): invertertype = MIC | GEN2 | X1 # X1-Mini G4
elif seriesnumber.startswith('XMA'): invertertype = MIC | GEN2 | X1 # X1-Mini G3
Expand Down

0 comments on commit 12ac65a

Please sign in to comment.