Skip to content

Failing to add SL Route Sensor with Longlat-pair #82

Description

@marefr

Using version 3.2.0b2. Is adding SL Route Sensor with Longlat-pairs supposed to work or is it not working due to deprecated API's? See screenshot/logs below.

I wanted to include my home location in the route, but maybe that's not possible using SL?

Image Image

Debug logs from sl_find_trip_pos:

aiohttp.client_exceptions.ClientResponseError: 502, message='Bad Gateway', url='https://journeyplanner.integration.sl.se/v1/TravelplannerV3_1/trip.json?key=<redacted>&Passlist=1&originCoordLat=20.2&originCoordLong=10.2&destCoordLat=20.2&destCoordLong=10.2'
2025-06-16 19:11:50.766 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140232855747168] Error handling message: Unknown error (unknown_error) <redacted>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions