mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Bump bimmer_connected to 0.16.1 (#122699)
Co-authored-by: Richard <rikroe@users.noreply.github.com>
This commit is contained in:
parent
d586e7df33
commit
745eea9a29
@ -7,5 +7,5 @@
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["bimmer_connected"],
|
||||
"quality_scale": "platinum",
|
||||
"requirements": ["bimmer-connected[china]==0.15.3"]
|
||||
"requirements": ["bimmer-connected[china]==0.16.1"]
|
||||
}
|
||||
|
@ -86,7 +86,8 @@
|
||||
"name": "Charging Mode",
|
||||
"state": {
|
||||
"immediate_charging": "Immediate charging",
|
||||
"delayed_charging": "Delayed charging"
|
||||
"delayed_charging": "Delayed charging",
|
||||
"no_action": "No action"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -556,7 +556,7 @@ beautifulsoup4==4.12.3
|
||||
# beewi-smartclim==0.0.10
|
||||
|
||||
# homeassistant.components.bmw_connected_drive
|
||||
bimmer-connected[china]==0.15.3
|
||||
bimmer-connected[china]==0.16.1
|
||||
|
||||
# homeassistant.components.bizkaibus
|
||||
bizkaibus==0.1.1
|
||||
|
@ -490,7 +490,7 @@ base36==0.1.1
|
||||
beautifulsoup4==4.12.3
|
||||
|
||||
# homeassistant.components.bmw_connected_drive
|
||||
bimmer-connected[china]==0.15.3
|
||||
bimmer-connected[china]==0.16.1
|
||||
|
||||
# homeassistant.components.eq3btsmart
|
||||
# homeassistant.components.esphome
|
||||
|
@ -1,7 +1,7 @@
|
||||
"""Tests for the for the BMW Connected Drive integration."""
|
||||
|
||||
from bimmer_connected.const import (
|
||||
REMOTE_SERVICE_BASE_URL,
|
||||
REMOTE_SERVICE_V4_BASE_URL,
|
||||
VEHICLE_CHARGING_BASE_URL,
|
||||
VEHICLE_POI_URL,
|
||||
)
|
||||
@ -71,11 +71,11 @@ def check_remote_service_call(
|
||||
first_remote_service_call: respx.models.Call = next(
|
||||
c
|
||||
for c in router.calls
|
||||
if c.request.url.path.startswith(REMOTE_SERVICE_BASE_URL)
|
||||
if c.request.url.path.startswith(REMOTE_SERVICE_V4_BASE_URL)
|
||||
or c.request.url.path.startswith(
|
||||
VEHICLE_CHARGING_BASE_URL.replace("/{vin}", "")
|
||||
)
|
||||
or c.request.url.path == VEHICLE_POI_URL
|
||||
or c.request.url.path.endswith(VEHICLE_POI_URL.rsplit("/", maxsplit=1)[-1])
|
||||
)
|
||||
assert (
|
||||
first_remote_service_call.request.url.path.endswith(remote_service) is True
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -8,6 +8,7 @@
|
||||
'options': list([
|
||||
'immediate_charging',
|
||||
'delayed_charging',
|
||||
'no_action',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
@ -44,6 +45,7 @@
|
||||
'options': list([
|
||||
'immediate_charging',
|
||||
'delayed_charging',
|
||||
'no_action',
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
@ -141,6 +143,7 @@
|
||||
'options': list([
|
||||
'immediate_charging',
|
||||
'delayed_charging',
|
||||
'no_action',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
@ -177,6 +180,7 @@
|
||||
'options': list([
|
||||
'immediate_charging',
|
||||
'delayed_charging',
|
||||
'no_action',
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
@ -274,6 +278,7 @@
|
||||
'options': list([
|
||||
'immediate_charging',
|
||||
'delayed_charging',
|
||||
'no_action',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
@ -310,6 +315,7 @@
|
||||
'options': list([
|
||||
'immediate_charging',
|
||||
'delayed_charging',
|
||||
'no_action',
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user