#Webhook triggers - allowed_methods not working.

1 messages · Page 1 of 1 (latest)

swift basalt
#

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
#

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']."

dusk ginkgo
#

Please properly format your code. It's impossible to see what's going on there

echo marlinBOT
#

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.

dusk ginkgo
#

Perhaps you're using an old version of HA

swift basalt
#

@dusk ginkgo done, sorry

#

Home Assistant 2023.4.6 Supervisor 2023.06.1 Operating System 10.1 Frontend 20230411.1

dusk ginkgo
#

So, yes

#

April

swift basalt
#

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.

dusk ginkgo
#

it's not an issue - it was added in 2023.5

swift basalt
#

LOL very well my appologies

dusk ginkgo
#

and the docs always reflect the current release