Skip to content
Snippets Groups Projects
Unverified Commit f735d12a authored by Richard Kroegel's avatar Richard Kroegel Committed by GitHub
Browse files

Fix BMW client blocking on load_default_certs (#125015)

* Fix BMW client blocking load_default_certs

* Use get_default_context
parent 2f7a3967
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ from homeassistant.const import CONF_PASSWORD, CONF_REGION, CONF_USERNAME
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import ConfigEntryAuthFailed
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
from homeassistant.util.ssl import get_default_context
from .const import CONF_GCID, CONF_READ_ONLY, CONF_REFRESH_TOKEN, DOMAIN, SCAN_INTERVALS
......@@ -33,6 +34,7 @@ class BMWDataUpdateCoordinator(DataUpdateCoordinator[None]):
entry.data[CONF_PASSWORD],
get_region_from_name(entry.data[CONF_REGION]),
observer_position=GPSPosition(hass.config.latitude, hass.config.longitude),
verify=get_default_context(),
)
self.read_only = entry.options[CONF_READ_ONLY]
self._entry = entry
......
......@@ -7,5 +7,5 @@
"iot_class": "cloud_polling",
"loggers": ["bimmer_connected"],
"quality_scale": "platinum",
"requirements": ["bimmer-connected[china]==0.16.2"]
"requirements": ["bimmer-connected[china]==0.16.3"]
}
......@@ -559,7 +559,7 @@ beautifulsoup4==4.12.3
# beewi-smartclim==0.0.10
# homeassistant.components.bmw_connected_drive
bimmer-connected[china]==0.16.2
bimmer-connected[china]==0.16.3
# homeassistant.components.bizkaibus
bizkaibus==0.1.1
......
......@@ -493,7 +493,7 @@ base36==0.1.1
beautifulsoup4==4.12.3
# homeassistant.components.bmw_connected_drive
bimmer-connected[china]==0.16.2
bimmer-connected[china]==0.16.3
# homeassistant.components.eq3btsmart
# homeassistant.components.esphome
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment