Stop using shared aiohttp client session for Subaru integration (#133931)

This commit is contained in:
G-Two 2024-12-24 02:59:51 -05:00 committed by Franck Nijhof
parent f23bc51b88
commit 4f1e9b2338
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -49,7 +49,7 @@ _LOGGER = logging.getLogger(__name__)
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Set up Subaru from a config entry."""
config = entry.data
websession = aiohttp_client.async_get_clientsession(hass)
websession = aiohttp_client.async_create_clientsession(hass)
try:
controller = SubaruAPI(
websession,