Home assistant hard restart by unpluging power to rpi-> use smart switch?

Check this thread here as it sounds like to be the thing you are looking for:

Instead of a “full blown” AC smart plug like in your picture @Gussir such a cheap device can not only save maybe a watt while running but also be powered from the same power supply as your pi :muscle: