mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Remove unnecessary hass.data defaults from Rainbird (#131858)
This commit is contained in:
parent
87320609dc
commit
8862c5c4d8
@ -65,8 +65,6 @@ def _async_register_clientsession_shutdown(
|
||||
async def async_setup_entry(hass: HomeAssistant, entry: RainbirdConfigEntry) -> bool:
|
||||
"""Set up the config entry for Rain Bird."""
|
||||
|
||||
hass.data.setdefault(DOMAIN, {})
|
||||
|
||||
clientsession = async_create_clientsession()
|
||||
_async_register_clientsession_shutdown(hass, entry, clientsession)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user