JaccoR / hass-entso-e

Integration for Home Assistant to fetch day ahead energy prices from European countries via ENTSO-e Transparency Platform
159 stars 25 forks source link

Error in commit b550a58 #8

Closed Calimerorulez closed 1 year ago

Calimerorulez commented 1 year ago
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 365, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/entsoe/__init__.py", line 21, in async_setup_entry
    area = entry.options[CONF_AREA]
KeyError: 'area'
JaccoR commented 1 year ago

please re-add the integration in your settings and try again. I changed some stuff regarding countries with multiple areas. Let me know if it worked.

Calimerorulez commented 1 year ago

Yes, it works again now. Thank you :)