Skip to content

Commit

Permalink
fix #14
Browse files Browse the repository at this point in the history
  • Loading branch information
pantherale0 committed Jun 20, 2024
1 parent c7d7898 commit f9208b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/fuel_prices/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async def async_setup_entry(
) -> None:
"""Integration platform creation."""
cooridinator: FuelPricesCoordinator = hass.data[DOMAIN][entry.entry_id]
areas = entry.data[CONF_AREAS]
areas = entry.options.get(CONF_AREAS, entry.data.get(CONF_AREAS, []))
entities = []
found_entities = []
state_value = entry.options.get(
Expand Down

0 comments on commit f9208b6

Please sign in to comment.