PID_integration
PID_integration copied to clipboard
Integration freezes if there aren't enough departures in the next 24 hours
Hi, the stop nearest to where I live doesn't see any service on weekends.
The expected behavior:
- As there are less than x departures in the next 24 hours, the fields that cannot be populated get empty strings.
- When the last bus on Friday leaves, the direction of the first "bus" is set to "Žádné odjezdy v příštích 24 hodinách" or something like that.
Current behavior:
- The integration freezes when there are less than x departures in the next 24 hours. Reloading makes the entities disappear.
Could this please be looked into? The integration is amazing otherwise, but it's annoying to have a broken dashboard 2 days of the week 😅
Thanks, I will have a look into it.
I'd just like to add a small correction - the API returns departures in the next 48 hours, not 24.
Point still stands though, just any potential message should reflect this.