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 GitHub
parent 771ead9d7b
commit 4a2ae7f6fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,