Accessing GPIO by python library, for tinkerboard

Hello forum,
I’m new here, but I think I’ve acquire a little background on programming with python and setting up different linux boxes for decades.
So this round I’d like to have hands on my Asus tinkerboard and make it act for some light switching. I had success to use the python library and I’m able to order to switch a 4 relays module. So I’m looking for some guideline to arrange my first small automation which would sense a couple of inputs and user 3 of those relays.

I still have a long learning curve about setting the devices and the Lovelace interface, but I hope won’t take longer than a week to get thinks started. If someone wish to help, I’m very grateful.