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

HA update 2023.5.2 #22

Closed davidvalasek closed 1 year ago

davidvalasek commented 1 year ago

Dobrý den, po updatu mi píše HA

This entity (sensor.current_spot_electricity_price) is no longer being provided by the cz_energy_spot_prices integration. If the entity is no longer in use, delete it in settings.

Poradíte prosím?

Děkuji.

rnovacek commented 1 year ago

Žádný problém u sebe nevidím, můžete se prosím podívat do logů? Je to v System -> Settings -> Logs.

davidvalasek commented 1 year ago

Logger: homeassistant.config_entries Source: custom_components/cz_energy_spot_prices/init.py:24

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

rnovacek commented 1 year ago

@davidvalasek vyřešeno? jak?

Fred749 commented 1 year ago

Ze zařízení odstranit integraci "Electricity Spot Rate in CZK/kWh" a poté ručně smazat z custom_components "cz_energy_spot_prices". Znovu stáhnout z https://github.com/rnovacek/homeassistant_cz_energy_spot_prices a nahrát do custom_components, přidat integraci Electricity Spot Rate in CZK/kWh a restartovat HA.

rnovacek commented 1 year ago

ok, čili aktualizovat na nejnovější verzi, díky za info. Mimochodem už jde instalovat i z HACS.