Hello,
I’m new to homeassistant development and a noob with python, but I like to tinker. I would like to create a duplicate of the ‘stookwijzer’ component to play around with. The API returns more date than this component currently shows, so I’d like to use this as an opportunity to dive into it and see if I can get the info displayed in homeassistant.
I’ve read some threads about creating a folder in the custom-components folder within the config and creating the files you want to edit there (and considering any pathnames the original app has).
So far so good, but I seem to be missing the code that actually connects to the API. I have found the seperate stookwijzer repository by frenck, where the ‘stookwijzerapi.py’ seems to contain this info, but the actual component repository on the homeassistant github does not have this file. Is a cross-reference between these two being made? If yes, is it even possible for me to replicate this with custom-components files, or should I fork frenck’s stookwijzer repository and somehow reference this from the homeassistant files? If the latter, how would I do this, because I don’t see any urls for the repo mentioned in the component files, so I’m not sure how this works.
Thank you so much in advance for any insight and advice!