Fix cookies with aiohttp >= 3.12.7 for Vodafone Station (#146647)

This commit is contained in:
Simone Chemelli 2025-06-12 17:24:10 +03:00 committed by GitHub
parent 8807c530a9
commit 171f7c5f81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,5 +9,5 @@ from homeassistant.helpers import aiohttp_client
async def async_client_session(hass: HomeAssistant) -> ClientSession:
"""Return a new aiohttp session."""
return aiohttp_client.async_create_clientsession(
hass, verify_ssl=False, cookie_jar=CookieJar(unsafe=True)
hass, verify_ssl=False, cookie_jar=CookieJar(unsafe=True, quote_cookie=False)
)