Hi everyone,
I’m looking for (or hoping to inspire) a Home Assistant blueprint that can safely handle on-demand appliances with a guaranteed timed shutoff. A good example would be a coffee percolator or a heating pad.
The blueprint should automatically turn the device off after a predetermined amount of time, such as 10 minutes, regardless of how the device was turned on. That includes manual activation from the UI, a scheduled automation, a physical button, or voice control through Alexa using a smart plug. The shutoff must still occur even if Home Assistant restarts, loses connection to the device, or the device temporarily goes unavailable.
It should also support automations that turn the appliance on at a set time, while still enforcing the same safety timeout. In other words, no matter how or when it is turned on, the device should always shut itself off after the defined runtime.
Ideally, the same blueprint would also be suitable for heating devices such as heating pads, with the ability to extend the runtime using a push button while keeping the same safety shutdown behavior. Additional safeguards based on maximum runtime, temperature, or current draw would be a big plus, especially for unattended heating loads.
If something like this already exists, I’d really appreciate a link. If not, I think this could be a useful general-purpose safety timer blueprint for Home Assistant.
Thanks in advance!