robbinjanssen / home-assistant-omnik-inverter

Read the current, daily and total Wh from your Omnik Inverter via local network (no cloud!)
MIT License
55 stars 21 forks source link

Omnik2000tl AttributeError: 'ConfigEntries' object has no attribute 'async_forward_entry_setups' #223

Closed Jampie85 closed 1 year ago

Jampie85 commented 1 year ago

After adding i get this error ? I dont know how to solve this error.

image image

Logger: homeassistant.config_entries Source: custom_components/omnik_inverter/init.py:29 Integration: Omnik Inverter (documentation, issues) First occurred: 22:20:29 (1 occurrences) Last logged: 22:20:29

Error setting up entry Casita for omnik_inverter Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/omnik_inverter/init.py", line 29, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) AttributeError: 'ConfigEntries' object has no attribute 'async_forward_entry_setups'

klaasnicolaas commented 1 year ago

You are using an older version of the integration

Jampie85 commented 1 year ago

I was using the latest stable version, but seems that latest stable version is 2 years old lol. Now i switched to 2023.4.6 and everything works perfect. Thanks for the onmik integration :)

klaasnicolaas commented 1 year ago

Latest stable version of the integration is 2.6.1 and 3 months old 🤷🏻

Are you using a different custom integration? Because we dont cache day vales

Jampie85 commented 1 year ago

Sorry, i was talking about the armv7 Home Assistant version. 2.6.1 not working with the latest stable version from docker Home Assistant. Had to manual install 2023.4.6 Home Assistant and now 2.6.1 works perfect.

klaasnicolaas commented 1 year ago

Why doesn't it work with the latest stable version of home assistant?