In order to get some sensors working I used Arduino examples from the web, understood the example and how it interfaces with my platform. Once it all worked I was able to transfer everything to HA, successfully. Going with "I'll just use HA from beginning", got me stuck thoroughly.
I feel like one of the people waving at the cloud saying: "Use Home Assistant", same as back in the days of use linux for all your troubles.