How to debounce an automation?

So, it doesn’t look like this demux script performs the debounce?

Not really needed for door/window sensors or motion sensors. For the switches, I debounce in the demuxed sensor.

like this :

- id: '67665f22-e3ff-4de4-929d-d42a6cc22639'
  alias: Licht eetkamer boven
  trigger:
  - payload: 'ON'
    platform: mqtt
    topic: sensor/lichteetkamerboven
  condition: []
  action:
  - data:
      entity_id: light.lichteetkamer
    service: light.toggle
  - delay: 00:00:10
  mode: single
3 Likes