Getting plug to cycle
Hi, I've got an HS103 switch that is connected to a raspberry pi 5 computer. To turn on the computer, I say "turn on raspberry pi" and it turns on the HS103 which causes the raspberry pi to boot up since it starts receiving electricity. Shutting down the computer has to be done on the computer itself so it safely closes and saves all apps and routines. Turning it off by the HS103 would not safely shut it down. But this leaves the plug still on.
So when I go to turn it on again, if I say "turn on raspberry pi" it doesnt work since the plug is already on and it just maintains the on status. Without turning the HS103 off first, it won't turn on the raspberry pi when I give the "on" command. If I try to do a scene or smart action called "turn on raspberrry pi," if I put in a first command to turn it off and try to put in a second command to turn it on so it cycles, it doesn't save the second command, it just corrects the first command to turn on.
Any suggestions appreciated. Thanks!