#Webhook triggers - allowed_methods not working.
1 messages · Page 1 of 1 (latest)
I am trying to use this yaml:
- id: '1686594475718'
alias: Webhook Test
description: ''
trigger:
- platform: webhook
webhook_id: REDACTED
allowed_methods:
- GET
local_only: false
condition: []
action:
- service: notify.notify
data:
message: Test - Webhook
mode: single
The documentation states this is possible here: https://www.home-assistant.io/docs/automation/trigger/#webhook-trigger
But when attempted through the UI or by editing automatons.yaml the error " extra keys not allowed @ data['allowed_methods']. Got None
extra keys not allowed @ data['local_only']."
Please properly format your code. It's impossible to see what's going on there
To format your text as code, enter three backticks on the first line, press Shift+Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
Perhaps you're using an old version of HA
@dusk ginkgo done, sorry
Home Assistant 2023.4.6 Supervisor 2023.06.1 Operating System 10.1 Frontend 20230411.1
bahh fine, I'll update. TBF I've tried on a few other versions and seem to be getting the same issue and there's nothing on github about this issue.
LOL very well my appologies
and the docs always reflect the current release