Bump here-routing to 1.2.0 (#147204)

* Bump here-routing to 1.2.0

* Fix mypy typing errors

* Correct types for call assertion
This commit is contained in:
Kevin Stillhammer
2025-06-20 13:44:14 +02:00
committed by GitHub
parent a493bdc208
commit f9d4bde0f6
6 changed files with 12 additions and 8 deletions

View File

@@ -319,8 +319,8 @@ async def test_entity_ids(hass: HomeAssistant, valid_response: MagicMock) -> Non
valid_response.assert_called_with(
transport_mode=TransportMode.TRUCK,
origin=Place(ORIGIN_LATITUDE, ORIGIN_LONGITUDE),
destination=Place(DESTINATION_LATITUDE, DESTINATION_LONGITUDE),
origin=Place(float(ORIGIN_LATITUDE), float(ORIGIN_LONGITUDE)),
destination=Place(float(DESTINATION_LATITUDE), float(DESTINATION_LONGITUDE)),
routing_mode=RoutingMode.FAST,
arrival_time=None,
departure_time=None,