Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Home Assistant setting
#2
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
Reply


Messages In This Thread
Home Assistant setting - by Powerdata - 03-07-2024, 11:47 PM
RE: Home Assistant setting - by admin - 03-08-2024, 04:37 AM
RE: Home Assistant setting - by Reyansh02 - 06-28-2024, 04:00 PM
RE: Home Assistant setting - by admin - 06-29-2024, 01:38 AM
RE: Home Assistant setting - by sheheryar - 07-09-2024, 09:31 AM
RE: Home Assistant setting - by admin - 07-09-2024, 10:41 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)