mirror of
https://github.com/home-assistant/core.git
synced 2026-09-25 07:51:46 -05:00
Remove unused hass.data[DOMAIN] from discord (#176118)
This commit is contained in:
@@ -37,8 +37,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
finally:
|
||||
await discord_bot.close()
|
||||
|
||||
hass.data.setdefault(DOMAIN, {})[entry.entry_id] = entry.data
|
||||
|
||||
hass.async_create_task(
|
||||
discovery.async_load_platform(
|
||||
hass, Platform.NOTIFY, DOMAIN, dict(entry.data), hass.data[DATA_HASS_CONFIG]
|
||||
|
||||
Reference in New Issue
Block a user