Creating loops with feedback

I have a simple automation


alias: 12:30 eye drops
description: ""
trigger:
  - platform: time
    at: "12:30:00"
condition: []
action:
  - device_id: xxx
    domain: mobile_app
    type: notify
    message: Eye drops
    data:
      actions:
        - action: OK
          title: OK
mode: single

I want to expand on this but I don’t know how. I’ve tried a few suggestions from chatgpt but they all errored.

I want to send another notification every 10 minutes unless the ok ‘button’ is pressed

Instead of an automation, use the time of day sensor to define your time you want the alert to happen:

Then use the ToD sensor in an alert to notify you with repeats and an acknowledgement to stop the repeats:

1 Like

Thank you I’ll give it a go