hacs-hafas
hacs-hafas copied to clipboard
Support for additional profiles
Hi, this HA-addon looks very promising. As I understand, there are currently 3 pyhafas profiles supported: DBProfile, KVBProfile, VSNProfile.
If I look at the profiles provided in the pyhafas-repository, there are a few more already implemented: https://github.com/FahrplanDatenGarten/pyhafas/tree/main/pyhafas/profile
What does it need to get them also included? I would especially be interested to help with NASA.
Yes, those are the three profiles we were personally interested in originally. And we said, we would accept more profiles as soon as someone asks for them.
There are basically two places, where they will need to be added:
config_flow.pyand__init__.py.
See this search: https://github.com/search?q=repo%3Aakloeckner%2Fhacs-hafas%20kvb&type=code
If you could propose a PR, I think it will be straightforward to merge it.
See #26 for a good example.