Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Integration doesn't start when a single phase power meter is present #671

Closed
3 of 5 tasks
Ivano62 opened this issue Apr 3, 2024 · 2 comments
Closed
3 of 5 tasks
Labels
bug Something isn't working

Comments

@Ivano62
Copy link

Ivano62 commented Apr 3, 2024

Describe the issue

With latest version on HA 2024.04 I get this error

2024-04-03 23:43:42.067 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up huawei_solar platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 356, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/huawei_solar/sensor.py", line 808, in async_setup_entry
assert ucs.power_meter_update_coordinator
AssertionError

Bescribe your Huawei Solar Setup

Inverter Type: SUN2000-6KTL-L1
Inverter Firmware version: V200R001C00SPC136
SDongle present: yes
Power meter present: single phase
Battery: LUNA2000 15kWh
Battery Firmware version: V100R002C00SPC127

How do you connect to the inverter?

Via the SDongle, wired connection

Upload your Diagnostics File

Drag & Drop your Diagnostics File here.

Upload your relevant debug logs

2024-04-03 23:43:42.067 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up huawei_solar platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 356, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/config/custom_components/huawei_solar/sensor.py", line 808, in async_setup_entry
    assert ucs.power_meter_update_coordinator
AssertionError

Please confirm the following:

  • I'm running the latest release of Home Assistant.
  • I'm running the latest release of this integration.
  • I did not find an existing issue describing this problem.
  • I did upload the diagnostics-file that I could retrieve from the 'Devices & Services Page'
  • I did upload the relevant debug logs (via 'Enable Debug Logging'-feature or by manually configuring HA logging)
@Ivano62 Ivano62 added the bug Something isn't working label Apr 3, 2024
@mariusnauj
Copy link

Hello,

Which version of integration you are using?

@wlcrs wlcrs closed this as completed in 347054f Apr 4, 2024
@wlcrs wlcrs changed the title [Bug]: [Bug]: Integration doesn't start when a single phase power meter is present Apr 4, 2024
@wlcrs
Copy link
Owner

wlcrs commented Apr 4, 2024

Thank you for testing the alpha release. Can you please test again with 1.4.0 alpha 2 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants