How to Shutdown Terramaster NAS with SSH keypair and shell_command

APC UPS with USB connection.
How to connect your APC UPS to Rpi and Home Assistant using apcupsd!.

Or basically put this in your search engine… There are more…

site:community.home-assistant.io ups serial