As you can see it comes with a power on/off button. Everything is up and running. But how do I get Home Assistant OS to do a soft power off, or reboot when I press this button?
Currently it only works as a ‘hard power off’ button when I press it for about 3 seconds or so.
I’ve looked around and can’t find a pinout for that case.
There are boot pins on the the Pi (guess you are using the Pi 4) but you would need to see if your momentary button is wired into the GPIO you could catch an event on, or if it cuts off the power supply instead.
Some things to look at with DIY solutions that may guide your research/plan: