I could really use some help with setting up a smart timer for the coffeemaker and “auto shut off or not” depending on my answer to the actionable notification.
What I’m trying to achieve is this: when I press a physical zigbee button the switch that the coffeemaker is connected to starts. That should trigger a timer in HA for 60 minutes. After 55 minutes I would like to get a actionable notification in the iOS Companion app with two choices: restart timer or dismiss.
The timer would be shown in the companion app as a conditional card with countdows. That part is not a problem for me setting up. Neither is the actual timer that starts when the button is pushed.
The part I’m struggling with is the notification after 55 minutes, or rather: when there is 5 minutes left. But that is not of great importance either. As long as the timer restarts it will always notify when there’s 5 minutes left.
How do I go about setting all this up? When googling it seems I need to set up several automations for the actions in the actionable notifications. Have any of you done this before and would be willing to share the code?
should start on switch turn ON then wait 45min and send automation that allow you to restart.
Notification is for IOS. For android you need to add HTML5 action
for the actionable notification you should get a button that when press retriggers the original automation…ultimately keeping the timer going since the automation is set to “restart” if triggered while running.
the “tag” will cause each new notification to overwrite the previous. this may or may not be desirable so you can use different tags to change this behavior
Thanks again! Just now I had a chance to review your post a little more closely. There are perhaps a few notifications too many The one I need is really just the one: 55 minutes after I started the coffeemaker (physical button) I would like an actionable notification to restart the timer.
Which part(s) should I remove? Can you please assist me a little more? Thanks in advance!
Thanks a lot, @tmjpugh for your solution and time! Everything works as intended. I had to make a different automation for when I shut the coffeemaker off with the Zigbee button, but I got it working. That one was a lot easier, lol.