This explains how to use any smartplug connected to Home Assistant with Octoprint PSU Control
.
It's based on a comment by tht and a Tasmota sonoff thread in the Octoprint forum.
The installation consist of three simple steps: create a config file, copy the script and change the PSU Control settings