Hello there! i installed the esphome software on a cheap “qs-wifi-s04-2c” and i have this problem, when i’m on the bench with a simple wire to test with the device correctly detects on and off states and it toggles without any problems the relay accordingly but when i try to install it into my light system it goes crazy and starts randomly changing the state. This is how i’m detecting the being button pressed:
binary_sensor: - platform: gpio pin: number: GPIO13 inverted: true id: button filters: - delayed_off: 100ms on_press: then: - light.toggle: light_1
it’s obvious i need some other filter then only “delayed_off” but i can’t find whitch one could fix my issue, home someone helps!