Skip to content

Commit

Permalink
Remove unnecessary hass.data defaults from Rainbird (home-assistant#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
allenporter authored Nov 28, 2024
1 parent 8732060 commit 8862c5c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions homeassistant/components/rainbird/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ async def _async_close_websession(*_: Any) -> None:
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)

Expand Down

0 comments on commit 8862c5c

Please sign in to comment.