hasl-sensor / integration

Swedish Public Transport Sensor (HASL). Formerly named HomeAssistant SL Sensor
https://hasl.sorlov.com
Apache License 2.0
34 stars 7 forks source link

Empty result back from quary #36

Closed lawi75 closed 2 years ago

lawi75 commented 2 years ago

No departures returned from query:

unit_of_measurement: min api_result: Ok scan_interval: 300 refresh_enabled: true attribution: Stockholms Lokaltrafik departures: [] deviations: [] last_refresh: '2022-03-08 10:29:13' next_departure_minutes: 4 next_departure_time: '10:34:25' deviation_count: 0 icon: mdi:train friendly_name: SL Departure Sensor 3704

DSorlov commented 2 years ago

How is the integration configured?

hanimayahi commented 2 years ago

I'm also having this issue, I was able to add this integration only after the recent update.

My configuration: image

Entity:

unit_of_measurement: min
api_result: Ok
scan_interval: 300
refresh_enabled: true
attribution: Stockholms Lokaltrafik
departures: []
deviations: []
last_refresh: '2022-03-09 17:36:40'
next_departure_minutes: 0
next_departure_time: '17:40:30'
deviation_count: 0
icon: mdi:train
friendly_name: SL Departure Sensor 1080 (Stockholm City)
DSorlov commented 2 years ago

Ok; have been able to reproduce. Confirming this is a bug for now. Working on a fix asap but under some time constraints right now.