Looks like somebody already found my code
Integration into Home Assistant will be much easier than this:
https://www.open-homeautomation.com/2016/08/29/monitor-your-plants-with-home-assistant/
The code is already on my disk, I will create a pull request soon. I hope the code will make it into the 0.28 release.
Best regards,
Daniel