Hi there, im trying to make an automation to use with HA ios App using this guide
- id: '1597258014342'
alias: gates
description: ''
trigger:
- platform: webhook
webhook_id: gateshook
condition: []
action:
- data:
entity_id: switch.sonoff_1000351bb9
entity_id: switch.sonoff_1000351bb9
service: switch.turn_on
- id: '1597595035406'
alias: garagehook
description: ''
trigger:
- platform: webhook
webhook_id: garagehook
condition: []
action:
- data: {}
entity_id: switch.sonoff_1000357c8f
service: switch.turn_on
- alias: Gates
trigger:
- platform: event
event_type: ios.action_fired
event_data:
actionName: 'Gates'
action:
service: switch.turn_on
entity_id: switch.sonoff_1000351bb9
and i get the error with the las automation that
Invalid config for [automation]: [trigger] is an invalid option for [automation]. Check: automation->action->1->trigger