Skip to content

Commit

Permalink
fix time.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Pho3niX90 committed Feb 20, 2025
1 parent 3cd4a5c commit ebb2432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solis_modbus/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async def async_setup_entry(hass, config_entry: ConfigEntry, async_add_devices):
]

if inverter_config.type == InverterType.HYBRID or InverterFeature.V2 in inverter_config.features:
timeent.append([
timeent.extend([
{"name": "Solis Grid Time of Use Charge Start (Slot 1)", "register": 43711, "enabled": True},
{"name": "Solis Grid Time of Use Charge End (Slot 1)", "register": 43713, "enabled": True},
{"name": "Solis Grid Time of Use Discharge Start (Slot 1)", "register": 43753, "enabled": True},
Expand Down

0 comments on commit ebb2432

Please sign in to comment.