Hey :),
I’ve got the following automation, which triggers an actionable notification, which then allows me to select the vacuum mode.
However, for some time, the notification is only received on my iPhone and no longer on the Apple Watch. Thus, I can access the actions in the notification only on the phone and not on the watch.
Automation:
alias: Apple Watch Vacuum
mode: parallel
id: ae93e1d4-be70-4e61-a6c5-9673da327507
description: Apple Watch Staubstauger
trigger:
platform: event
event_type: ios.action_fired
event_data:
actionName: Vacuum
action:
- service: notify.apple
data:
message: "Staubsauger"
data:
actions:
- action: VACUUM
title: Saugen
- action: MOP
title: Wischen
- action: STOP
title: Stop
- wait_for_trigger:
platform: event
event_type: mobile_app_notification_action
timeout: "00:00:20"
continue_on_timeout: false
- variables:
option: "{{ wait.trigger.event.data.action }}"
- choose:
- conditions: "{{ option == 'VACUUM' }}"
sequence:
service: vacuum.start
entity_id: vacuum.valetudo_glenn
- conditions: "{{ option == 'MOP' }}"
sequence:
service: script.glenn_mop
- conditions: "{{ option == 'STOP' }}"
sequence:
- service: vacuum.stop
entity_id: vacuum.valetudo_glenn
This used to work without any issues and the notification is still being sent to the correct iPhone, which is linked to the Watch. Other notification from Home Assistant are mirrored correctly to the watch.
Could this be an issue because the Apple Watch app is open and therefore ignores / closes the notification immediately? Has anyone else experienced the same issue and have an idea what I might be doing wrong?
Happy for all ideas, thanks!