KoljaWindeler / kaco

custom integration for kaco solar inverter
15 stars 8 forks source link

error after upgrade Home Assistant to 2024.10.0 #14

Closed space9911 closed 1 month ago

space9911 commented 1 month ago

Can you help me?

HA Core 2024.10.0 Supervisor 2024.09.1 Operating System 13.1

homeassistant.config_entries config_entries.py:594

Error setting up entry Kaco PV for kaco Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/kaco/init.py", line 28, in async_setup_entry config_entry.data = ensure_config( ^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/config_entries.py", line 443, in setattr raise AttributeError( AttributeError: data cannot be changed directly, use async_update_entry instead

Temporary i'm back to my prev. Version HA 2024.8.2

mrblitz908 commented 1 month ago

I have the same issue.