wlcrs / huawei_solar

Home Assistant integration for Huawei Solar inverters via Modbus
GNU Affero General Public License v3.0
559 stars 89 forks source link

[Bug]: HA Services, multiple with same name #431

Closed ThomDietrich closed 1 year ago

ThomDietrich commented 1 year ago

Describe the issue

Hello, check the screenshot below. As you can see, three services are described by "Huawei Solar: Set Active Power Control to Unlimited mode", which I suspect is not intended.

image

Bescribe your Huawei Solar Setup

Inverter Type: SUN2000-10KTL-M1-HC Inverter Firmware version: latest SDongle present: no Power meter present: no Battery: None Battery Firmware version:

How do you connect to the inverter?

Over serial, with a serial-to-WiFi stick

Upload your Diagnostics File

config_entry-huawei_solar-f61543400e1b6c1346d3dd0813ab9633.json.txt

Upload your relevant debug logs

I hope no logs are required for this issue. Very happy to provide all the log data needed to resolve this issue though.

Please confirm the following:

ThomDietrich commented 1 year ago

Btw not fixed in 1.2.7b1

wlcrs commented 1 year ago

Already fixed: https://github.com/wlcrs/huawei_solar/commit/1b39063e9e37395d278332bd63ad6cf77d084d21#diff-476759a1d4ca0225d35e990ad3c57a4a2d5193563a9b764dee3044c6aeecfc0c

ThomDietrich commented 1 year ago

Maybe I need to restart the system for this to take effect. Thanks!!