StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
508 stars 190 forks source link

2024.2 Not working #515

Open sdhein opened 4 months ago

sdhein commented 4 months ago

Solarman not working after 2024.2 core upgrade

rene-mt commented 4 months ago

Same here. No connection anymore to Deye inverter after upgrade to HA 2024.2

81ondo commented 4 months ago

How to fix it?

brownstone666 commented 4 months ago

Same here. Deye String model:

Logger: homeassistant.config_entries
Source: config_entries.py:605
First occurred: 10:29:47 (1 occurrences)
Last logged: 10:29:47

Error unloading entry 192.168.3.250 for solarman
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 605, in async_unload
    result = await component.async_unload_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/solarman/__init__.py", line 28, in async_unload_entry
    hass.data[DOMAIN].pop(entry.entry_id)
    ~~~~~~~~~^^^^^^^^
KeyError: 'solarman'
PV-Joe commented 4 months ago

Everything’s fine here with Version 1.4.3.

route66por commented 4 months ago

I also have version 1.4.3 and no problems. And as i can see, i will still be on it for longer.

brownstone666 commented 4 months ago

Same here. Deye String model:

Logger: homeassistant.config_entries
Source: config_entries.py:605
First occurred: 10:29:47 (1 occurrences)
Last logged: 10:29:47

Error unloading entry 192.168.3.250 for solarman
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 605, in async_unload
    result = await component.async_unload_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/solarman/__init__.py", line 28, in async_unload_entry
    hass.data[DOMAIN].pop(entry.entry_id)
    ~~~~~~~~~^^^^^^^^
KeyError: 'solarman'

I downgrade to version 1.4.3 and working like a charm