I have a Windows machine, running VirtualBox, and the container version of HA in an Ubunutu virtual machine.
I just want to make a generic Power On/Off switch, with a default state of on, but tied to NO entity or anything. I want to POST to it when I know the power status, otherwise it stays as ON.
I was thinking just a binary sensor, no entities, platform being template, with just defaulting to ON?
I will use Windows Events and PowerShell to call the HA API to update the status, that part should be easy.
Thoughts?