All right, you automated lots of stuff arround your place with Home Assistant, but what about your PC ?
Wouldn't it be cool if you could turn it on or off from anywhere, just tapping on a button in your phone screen ?
Well, if your PC supports Sleep/Resume, you can do it with a couple of scripts. I'll demonstate here how to do it for a Linux desktop/notebook. You can addapt this to MacOS, maybe even Windows. You you do it, let me know on Mastodon, just Toot me at @firstname.lastname@example.org.
First of all, let's check if your system supports Sleep/Resume. On a …