I understand that I can script this (and I have for more predicable automations), but sometimes I just want to disable an automation, randomly, for a set period of time.
For example, I have an automation that alerts me if someone is in my backyard after hours, or on the weekends (currently have a crew during the weekdays). Today, they decided to work on Saturday. I would love to be able to disable the automation for the next 10 hours. Same is true with my front door. It relocks after 5 minutes. I had a construction crew in and out yesterday. I disabled the automation so they wouldnāt get locked out. I would love to be able to have it auto-reenabled after X time.
If you wish, you can have this automation automatically disable itself so that it doesnāt trigger every day at the scheduled time (effectively making it a āone-timeā automation).
Sure, thatās possible and I do that for another set of automations (I made an input boolean to snooze certain ones for 30 minutes). But Iām thinking as an average user, when I go to the Automation listing, it would be helpful to simply say āDisable for Xā instead of making another automation turn it back on. This is a usability request more than an ability request.
Weāre all free to make suggestions, just be advised that the majority of them are never implemented, especially if they can be achieved with existing means or they are atypical applications.
Occasionally I also have the the need to enable or diable an automation for a certain time; Thanks for the sample code Tara.
Setting a smartphone to āmuteā for a certain time is nicely implemented e.g. on Samsung Galaxy devices: you mute and have then the option to limit the time.
The same intuitive approach would be nice for Home Assistant; when you use the slider to en-/disable an automation, optionally select a time.
As was said, everyone can make suggestionsā¦