rnovacek / homeassistant_cz_energy_spot_prices

Home Assistant integration that provides current Czech electricity spot prices based on OTE.
Apache License 2.0
75 stars 17 forks source link

AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms' #26

Closed Screemy closed 2 months ago

Screemy commented 1 year ago

Zdravím,

po posledním updatu HA vyhodila integrace tuto chybu: `Logger: homeassistant.config_entries Source: custom_components/cz_energy_spot_prices/init.py:24 Integration: Czech Energy Spot Prices (documentation) First occurred: 7. května 2023 16:27:06 (1 occurrences) Last logged: 7. května 2023 16:27:06

Error setting up entry Electricity Spot Rate in CZK/kWh for cz_energy_spot_prices Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/cz_energy_spot_prices/init.py", line 24, in async_setup_entry hass.config_entries.async_setup_platforms(entry, ['sensor']) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'`

A nespusti se, nejaké napady?

Díly

rnovacek commented 1 year ago

Myslím, že nemáte aktuální verzi integrace. Zkuste ji smazat a nainstalovat 0.5.0 z HACS.

Screemy commented 1 year ago

Hmm to je zvlástní, protoze tam 0.5.0 v HACS nevidim .... pouze

v0.1.2 v0.1.1 v0.1.0 master

Zkousel jsem nyni i master, ale bez uspechu

rnovacek commented 1 year ago

Divný, 0.1.1 a 0.1.2 tady na githubu ani nevidím v "releases". Můžete zkusit nainstalovat integraci ručně: https://github.com/rnovacek/homeassistant_cz_energy_spot_prices#installation nebo zkusit nějak HACS přemluvit, ať to zkusí stáhnout znovu. A nebo přeinstalovat HACS.

Screemy commented 1 year ago

preinstalval jsem hacs beze zmeny ...

jdu zkusit rucne nahodit soubory

rnovacek commented 9 months ago

Je to stále problém?

rnovacek commented 2 months ago

Předpokládám, že už je to opraveno, jelikož si nikdo nestěžuje. Kdyby se to jestě stalo, tak to prosím znovu otevřete.