Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esp32:
- board: esp32dev
- framework:
- type: arduino
- binary_sensor:
- - platform: gpio
- pin:
- number: GPIO27
- mode:
- input: true
- pullup: true
- inverted: true
- name: "Key1"
- device_class: presence
- filters:
- - delayed_on: 50ms
- - delayed_off: 50ms
- - platform: gpio
- pin:
- number: GPIO26
- mode:
- input: true
- pullup: true
- inverted: true
- name: "Key2"
- device_class: presence
- filters:
- - delayed_on: 50ms
- - delayed_off: 50ms
- - platform: gpio
- pin:
- number: GPIO33
- mode:
- input: true
- pullup: true
- inverted: true
- name: "Key3"
- device_class: presence
- filters:
- - delayed_on: 50ms
- - delayed_off: 50ms
- - platform: gpio
- pin:
- number: GPIO12
- mode:
- input: true
- pullup: true
- inverted: true
- name: "Key4"
- device_class: presence
- filters:
- - delayed_on: 50ms
- - delayed_off: 50ms
Advertisement
Add Comment
Please, Sign In to add comment