Skip to content

Wrong inverter controls after latest update. #489

@thybag

Description

@thybag

Describe the bug
Prior to the latest release, my inverter displayed the full/correct set of controls, most notably the energy_storage_control_switch with the timed discharge options.

On 3.13.0 - The reduce set i now see
Image

On 3.12.0 - the correct set I had before (and now I've rolled back)

Image

I believe the 13.12.0 behaviour is correct as all these options work (and were in use). Additionally on the Solis portal my inverter shows as having a timed charge on/off and I have been using this successfully in automations for a while.

After upgrading to 3.13.0 these the options are gone and i now get the options in https://github.com/hultenvp/solis-sensor/blob/master/custom_components/solis/control_const.py#L324 rather than the full set

My guess is the change to how the HMI flag is detected as resulted in it getting the ALL_CONTROLS[True] rather than the correct ALL_CONTROLS[false].

The integration in HA reads Solis HMI Version all: 4300 (assuming this is correct)

As 4300 > 4200, the flag being true makes sense. https://github.com/hultenvp/solis-sensor/blob/master/custom_components/solis/soliscloud_api.py#L394C85-L394C89

Given that, how come valid options such as these are being hidden when HMI (unsure what that refers to) is true? Should the full set of options just be in both energy_storage_control_switch lists?

Config
Unsure what is wanted for this. I have the integration setup for 2 inverters, only one with control.

Versions
HA Version an deployment 2025.7.1
HACS version 2.0.5
Integration version: v3.13.0

Debug logs
Add to configuration.yaml:

logger:
  default: warning
  logs:
    custom_components.solis: debug

And attach the resulting log to the issue. If yo do not know where to find logs you missed an important step in the install of HACS. ;-)

Screenshots
No longer see options such as Self-Use - No Timed Charge/Discharge

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions