I have tons of smart sockets (https://www.amazon.de/dp/B077VNL75Z - but I got them for a little more than 10€ each)
They are great. Everytime I listen to music / use Apple TV it switches on my Yamaha HS7 (so lots of switching over the day) - working good so far. You could build some kind of cascade / delay with them (e.g. with a Raspberry and Home Assistant). And I bet they already paid for themselves.