Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter issues #26

Open
lazgeo opened this issue Apr 27, 2023 · 0 comments
Open

Filter issues #26

lazgeo opened this issue Apr 27, 2023 · 0 comments

Comments

@lazgeo
Copy link

lazgeo commented Apr 27, 2023

Trying to use filters to get only specific trains doesn't seem to work, it returns all results, not just the ones in "must". My config is as follows.

- platform: resrobot
  key: !secret trafiklab_resrobot_api
  fetch_interval: 3
  departures:
    - stop_id: 740000260
      name: Tåg till Malmö - Resrobot
      max_journeys: 5
      sensors: 5
      unit: "🕑"
      time_format: "%H:%M"
      filter:
        - means_of_transport: 2
        - means_of_transport: 4
          type: "must"
          direction: "Malmö"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant