Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Several Issues #6

Open
gekberlin opened this issue Aug 26, 2022 · 1 comment
Open

Several Issues #6

gekberlin opened this issue Aug 26, 2022 · 1 comment

Comments

@gekberlin
Copy link

Hi great that you're still working on this component!
I have added this custom component with hacs and if I restart hassio I do get several faults in the log:

Error doing job: Task exception was never retrieved
12:19:41 – (FEHLER) BVG (Berlin Public Transport) (benutzerdefinierte Integration) - Die Nachricht ist zum ersten Mal um 12:18:41 aufgetreten und erscheint 3 mal

Error parsing information from https://jsonplaceholder.typicode.com/posts/1 - timeout() got an unexpected keyword argument 'loop'
12:19:41 – (FEHLER) BVG (Berlin Public Transport) (benutzerdefinierte Integration) - Die Nachricht ist zum ersten Mal um 12:18:11 aufgetreten und erscheint 4 mal

Error adding entities for domain switch with platform bvg_berlin_public_transport
12:18:11 – (FEHLER) Schalter (benutzerdefinierte Integration) - Die Nachricht ist zum ersten Mal um 12:18:11 aufgetreten und erscheint 2 mal

Error adding entities for domain binary_sensor with platform bvg_berlin_public_transport
12:18:11 – (FEHLER) Binärsensor (benutzerdefinierte Integration) - Die Nachricht ist zum ersten Mal um 12:18:11 aufgetreten und erscheint 2 mal

Error while setting up bvg_berlin_public_transport platform for sensor
12:18:11 – (FEHLER) Sensor

I'm not quite sure what to do. Any suggestions?
Thats my config.yaml:

sensor:

  - platform: bvg_berlin_public_transport
    name: F***.
    stop_id: "9000*****3"
    direction: 
      - "S+U Berlin Hauptbahnhof"
    walking_distance: 5
@bloneu
Copy link

bloneu commented Oct 10, 2022

The configuration i use looks like this (works on HA 2022.10):

sensor Walter:
  - platform: bvg_berlin_public_transport
    name: U9 Walther-Schreiber-Platz
    stop_id: "900000061101"
    direction: "Osloer Str."
    walking_distance: 0

Maybe that will help.
*instead of direction: "S+U Berlin Hauptbahnhof" try direction: "Hauptbahnhof".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants