Hi everyone ! Hope to find you all well !
Since everyone will be using the Automation HAT mini, Pimoroni, in their blog, have a wonderful post about the Hat, written by Tanya Fish.
Just head to https://blog.pimoroni.com/automation-hat-tanya-teardown/ and read. Everything you need to know about the HAT workings and what does every output, input and relay do and how to work with them.
The post isn't really about the mini, but still applies.
They also have a getting started tutorial, but the blog post is better and more detailed (IMHO).
Happy coding .
JUST A SIDE NOTE: After reading the post, I got confused if the relay and the output wouldn't be the same thing. In a very short explanation: they are, in a sense, but the relay really cuts all the power (no electricity flowing) and the outputs still leave a bit of electricity flowing even if "turned off".