Skip to content

Commit

Permalink
fixing problem
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzmair committed Nov 28, 2024
1 parent 4b193a0 commit b9971cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/epex_spot/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
DEFAULT_TAX,
DOMAIN,
)
from .EPEXSpot import SMARD, Awattar, EPEXSpotWeb, Tibber, smartENERGY
from .EPEXSpot import SMARD, Awattar, EPEXSpotWeb, Tibber, smartENERGY, Energyforecast

CONF_SOURCE_LIST = (
CONF_SOURCE_AWATTAR,
Expand Down Expand Up @@ -83,6 +83,7 @@ async def async_step_source(self, user_input=None):
)
# Energyforecast API requires a token
elif self._source_name == CONF_SOURCE_ENERGYFORECAST:
areas = Energyforecast.Energyforecast.MARKET_AREAS
data_schema = vol.Schema(
{
vol.Required(CONF_MARKET_AREA): vol.In(sorted(areas)),
Expand Down

0 comments on commit b9971cc

Please sign in to comment.