[SOLVED] HA 2023.5 and (trigger) webhooks

Hi everyone,

I just upgraded to 2023.5 and found out, that my webhook triggers don’t work anymore.

I am using a webhook to be called from my alarm system when a motion sensor of this system is triggered. This should then set a binary_sensor accordingly:

- trigger:
    - platform: webhook
      webhook_id: HollaDieWaldfee
  binary_sensor:
    - name: "Bewegung (Wohnzimmer)"
      unique_id: bewegung_wohnzimmer_webhook_lupus
      state: "on"
      device_class: motion
      auto_off: 0:00:05

as this is not a webhook used in an automation I cannot uncheck the local network only flag:
image

So, is there any option to make it accessible again?

Got it! :slight_smile:
Just some minor changes:

- trigger:
    - platform: webhook
      webhook_id: HollaDieWaldfee
      allowed_methods: GET
  binary_sensor:
    - name: "Bewegung (Wohnzimmer)"
      unique_id: bewegung_wohnzimmer_webhook_lupus
      state: "on"
      device_class: motion
      auto_off: 0:00:05

Now I can call it using an internal URL:
https://192.168.68.70:8123/api/webhook/HollaDieWaldfee

There is a new field local_only

trigger:
  - platform: webhook
    webhook_id: AlarmArmed
    allowed_methods:
      - POST
      - PUT
    local_only: false

Thank you, @aceindy
However, it was a good trigger to think about using the webhook locally only :slight_smile:

I noted I had to reload trhe page before the cogwheel turned up.

And yeah, I should have used your lines…