My wife bought a plug in wax melt hot plate. She and I agree the fragrance is nice but overpowering.
My goal is to turn the warmer on at 8am, turn it off at 8:30am for 30 minutes then repeat until 8 pm.
I could create individual simple automations but there has to be an easier way.
Toggle? Repeat?
I looked in HPM and made some rules that don’t work due to my limited knowledge.
Conditions: 8am to 8pm
Trigger: when wax plate turns on or time is 8am
Actions: turn on wax plate( initial at 8am), wait 30 min, turn wax plate off, wait 30 min turn wax plate on
As a catch all: if time is 8pm turn off wax plate
Seems simple enough as long as your plug reports when it turns on
You may want to introduce a required expression to allow you to override the running of the rule, in case you don't want to run it for any reason.... Obviously the practical side to me says "just unplug it"... but where's the fun in that... You could either use a private boolean and set that in a rule based on a button / switch, or setup a virtual switch / button you make available on a dashboard, or use a physical button.... many options... Just a thought...
Alternatively, I would personally use a switch / button due to the versatility with dashboards, the app, Maker API... etc
Regardless of the option you take, you will likely want to manage resetting the option at somepoint, e.g. overnight or on mode change, whatever best suits.
Whatever you do, consider usability for everyone involved. If your wife is like mine, she's much more likely to just turn off the switch on the warmer than to mess with buttons and dashboards.