Skip to content

Commit

Permalink
Merge pull request #9 from Pho3niX90/feature/pv_sensors
Browse files Browse the repository at this point in the history
Simplify names
  • Loading branch information
Pho3niX90 authored Dec 5, 2023
2 parents 3b66ba7 + 646d4e1 commit ea5165c
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 89 deletions.
2 changes: 1 addition & 1 deletion custom_components/solis_modbus/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DOMAIN = "solis_modbus"
CONTROLLER = "modbus_controller"
VERSION = "1.0.7"
VERSION = "1.0.8"
POLL_INTERVAL_SECONDS = 5
2 changes: 1 addition & 1 deletion custom_components/solis_modbus/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"issue_tracker": "https://github.com/Pho3niX90/solis_modbus/issues",
"quality_scale": "silver",
"requirements": ["pymodbus==3.5.4"],
"version": "1.0.7"
"version": "1.0.8"
}
6 changes: 3 additions & 3 deletions custom_components/solis_modbus/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ async def async_setup_entry(hass, config_entry: ConfigEntry, async_add_devices):
numberEntities: List[SolisNumberEntity] = []

numbers = [
{"type": "SNE", "name": "Solis Inverter Time-Charging Charge Current", "register": 43141,
{"type": "SNE", "name": "Solis Time-Charging Charge Current", "register": 43141,
"default": 50.0, "multiplier": 10,
"min_val": 0, "max_val": 100, "step": 0.1, "device_class": SensorDeviceClass.CURRENT,
"unit_of_measurement": UnitOfElectricCurrent.AMPERE, "enabled": True},
{"type": "SNE", "name": "Solis Inverter Time-Charging Discharge Current", "register": 43142,
{"type": "SNE", "name": "Solis Time-Charging Discharge Current", "register": 43142,
"default": 50.0, "multiplier": 10,
"min_val": 0, "max_val": 100, "step": 0.1, "device_class": SensorDeviceClass.CURRENT,
"unit_of_measurement": UnitOfElectricCurrent.AMPERE, "enabled": True},
{"type": "SNE", "name": "Solis Inverter Backup SOC", "register": 43024,
{"type": "SNE", "name": "Solis Backup SOC", "register": 43024,
"default": 80.0, "multiplier": 1,
"min_val": 0, "max_val": 100, "step": 1,
"unit_of_measurement": PERCENTAGE, "enabled": True},
Expand Down
Loading

0 comments on commit ea5165c

Please sign in to comment.