Shutdown HA on Pi5 by pressing the power button

There is a power button on the Pi5. I am unable to shutdown HA at the moment due to an issue that is described here.

This request is inspired by this thread posted by @petermassey. It is also similar to this feature request by @konpon96.