Skip to content

Commit

Permalink
Make shure, that the coordinator get's correct data
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsK1 committed Nov 25, 2024
1 parent b0684b4 commit 8a0e7bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom_components/solvis_control/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
hass,
conf_host,
conf_port,
CONF_OPTION_1,
CONF_OPTION_2,
CONF_OPTION_3,
CONF_OPTION_4,
entry.data.get(CONF_OPTION_1),
entry.data.get(CONF_OPTION_2),
entry.data.get(CONF_OPTION_3),
entry.data.get(CONF_OPTION_4),
)
await coordinator.async_config_entry_first_refresh()
hass.data[DOMAIN][entry.entry_id].setdefault(DATA_COORDINATOR, coordinator)
Expand Down

0 comments on commit 8a0e7bc

Please sign in to comment.