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

direction is not working #52

Open
Sadoo-MH opened this issue Mar 3, 2023 · 1 comment
Open

direction is not working #52

Sadoo-MH opened this issue Mar 3, 2023 · 1 comment
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Sadoo-MH
Copy link

Sadoo-MH commented Mar 3, 2023

Hello i am using the resrobot Departure integration with the departures card, the problem that i am facing is wheneven i choose Direction 1 or 2 only the next bus shows and not all the busses, thus the card doesn't show any value
image
and when adding it to the card it doesn't show anything
image
but when choose the direction to be 0 then i get all the values, and the card shows perfectly but it shows booth direction, i am only interested in 1 direction where i need to go to Centrallen not the other way around,
so do you think this can be fixed ? or is it an error from my side
here is my card configuration:

`type: custom:hasl-departure-card
header: true
departures: true
deviations: true
timeleft: false
updated: true
name: Departures
adjust_times: false
hide_departed: false
language: en-EN
entities:
  - sensor.rr_departure_sensor_740017500_busses_test_1`

and here is when i choose the direction to be 0
this is the card:
image

and here is the sensor:
image

Thank you so much for your help.
BTW i am using the last version of the card which is : 2.6.1
and Home assistant 2023.3.1

@DSorlov DSorlov self-assigned this Mar 8, 2023
@ubbeus
Copy link

ubbeus commented Jun 10, 2023

I believe I'm experiencing the same problem.

If I set Attribute in the card to "Departures" I get the following:

  • line: '429'
    direction: 2
    departure: '22:05'
    destination: Gustavsbergs centrum
    time: 52
    expected: '2023-06-10T22:05:13'
    type: Buses
    groupofline: ''
    icon: mdi:bus

If I change Attribute to nothing it shows:
15 min

which is the departure in direction 1,
The direction chosen in the integration configuration is 2.

@DSorlov DSorlov added bug Something isn't working help wanted Extra attention is needed labels Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants