Esphome binnary sensor delay

I just want to add a delay to the code below (I am using ESP32)


  • platform: gpio


    number: 32

    mode: INPUT_PULLUP

    inverted: True

    name: “EDL Presence”

    device_class: power

Please format you post correctly:

You can use the delay_on or delay_off filters. Or both.

See: Binary Sensor Component — ESPHome

1 Like