I have an electric patio heater that I sometimes forget to turn off after using. In addition to a fire hazard, it costs a lot of money to keep it running overnight if I forget. However, it also doesn’t turn on when you power the outlet on. You have to hit the button on the heater to turn it on, so a normal smart plug won’t be able to automate turning it on and off. Is there any kind of device that could be programmed to sense when current starts flowing through the plug and start a timer to automatically turn it off in 1 hour?
You could even get one of those plugs with an analogue timer in that case.
But if you already have some kind of home automation set up, a lot of smart plugs can measure current going through it, so you could just set up a rule to turn it off at 10pm, or combine with a motion detector to turn off if the room has been empty for 10 minutes.