I recently switched from Homebridge to Home Assistant, and I’ve been trying to get back the PC on/off switch I had before. My plan was to set up a custom switch that pings the PC to check its status. The switch would use Wake-on-LAN to turn it on, and to turn it off it would send an RPC shutdown command.
But now I’m not even sure if a custom switch like that would carry over to my HomeKit bridge. Has anyone done something similar or knows of other integrations that could work?
Also, I’m a bit stuck on where I would even exactly create this custom switch in Home Assistant. Any pointers?