renemarc / home-assistant-config

🏠 Fully documented Home Assistant configuration for a smart-looking place. 😎 Be sure to ⭐️ my repo and copy ideas!
Apache License 2.0
344 stars 57 forks source link

next few scheduled stop times not working #45

Closed hardtekpt closed 5 years ago

hardtekpt commented 5 years ago

I'm trying to get next few scheduled stop times in the custom gtfs component but when I restart Home assistant I get the error:

Please remove [position]. (See /home/homeassistant/.homeassistant/configuration.yaml, line 78). Jul 17 15:15:27 hassbian hass[4703]: Offending data: {"platform": "gtfs", "name": "benfica_entrecampos_2", "origin": "", "destination": "", "data": "", "include_tomorrow": "", "scan_interval": "", "position": 2}

I have put the gtfs.py file inside a sensor folder inside a custom_components folder (/custom_components/sensor/gtfs.py) and included this in my configuration.yaml:

Maybe there's something else I need to do? Can you please help?