mirror of
https://github.com/home-assistant/core.git
synced 2026-04-06 23:47:33 +00:00
Update homeassistant/components/fluss/__init__.py
Co-authored-by: Josef Zweck <josef@zweck.dev>
This commit is contained in:
@@ -45,10 +45,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
raise ConfigEntryNotReady from e
|
||||
|
||||
entry.runtime_data = api
|
||||
if DOMAIN not in hass.data:
|
||||
hass.data[DOMAIN] = {}
|
||||
|
||||
hass.data[DOMAIN][entry.entry_id] = api
|
||||
|
||||
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user