Could anyone help with having multiple notify devices. I am trying a repeat action but just can get it to work. Keeps saying “Error: Unable to resolve webhook ID from the device ID”
This is my inputs
notify_device:
name: Devices To Notify (Optional)
description: Device to be notified via the mobile app
default: []
selector:
device:
integration: mobile_app
multiple: true
notify_title:
name: Notify - Title
description: Title of the notification.
default: []
selector:
text:
notify_message:
name: Notify - Meassage
description: Meassage of the notification.
default: []
selector:
text:
notify_action_title:
name: Notify - Action Button
description: Name the Action Buttion that will reset the automation, example "Reset Automation".
default: []
selector:
text:
this is my variables
variables:
notify_device: !input notify_device
notify_title: !input notify_title
notify_message: !input notify_message
notify_action_title: !input notify_action_title
this is my action
action:
- alias: "Set up variables for the notify actions"
variables:
action_off: "{{ 'TURN_OFF_' ~ context.id }}"
- alias: "Repeat notify for each"
repeat:
for_each: !input notify_device
sequence:
- device_id: "{{ repeat.item }}"
domain: mobile_app
type: notify
title: '{{ notify_title }}'
message: '{{ notify_message }}'
data:
actions:
- action: "{{ action_off }}"
title: !input notify_action_title
not sure what I have done wrong.