03-08-2024, 04:37 AM
add the "inverted" option in your config yaml of binary sensor. for example:
binary_sensor:
- platform: gpio
pin:
number: D2
inverted: true
name: ...
here is details with ESPHome: https://esphome.io/components/binary_sensor/gpio.html
binary_sensor:
- platform: gpio
pin:
number: D2
inverted: true
name: ...
here is details with ESPHome: https://esphome.io/components/binary_sensor/gpio.html
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://shop.kincony.com
Alibaba Store: https://kincony.en.alibaba.com/
Online Store: https://shop.kincony.com
Alibaba Store: https://kincony.en.alibaba.com/

