I use those power strips for other applications, and to solve that problem you mention, I have program several off time after the time I want then to be off, and the same with on position, if for reason the power strip can't execute the order, I'll be a next order down the road.I use a TP-Link Kasa Smart Power Strip. It works great for lights, pumps, etc. I also used one for my BRS dosing pump when I was carbon dosing.
Word of caution though regarding using this for dosing pumps...about 8 pm one day last week I had a power outage. My lights are programmed to turn off at 9 pm, using the Smart Power Strip. About 9:30 the power was restored. My lights came back on, even though it was after 9. The power strip apparently only takes "action", such as turning on or off, at the programmed time. Since there was no power at 9 pm, there was no signal to turn the lights off. They would have been on all night, once power was restored, if I didn't take manual action to turn them off. No biggie for lights or pumps, but if the power failure happened while the dosing pump was running, and power came back on after the scheduled "off" time, you could end up dosing way more than intended. I know the odds are slim that a power failure would coincide with the brief time a dosing pump runs, but the consequences could be disasterous. So if you want to use one of these with a dosing pump, I would recommend running the power strip off a UPS.