Closed bigstation17 closed 5 years ago
That would be because you're defining it inside a switch - switches control a GPIO state and do not read them. Please see binary_sensor.gpio instead for input mode.
Thank you very much @OttoWinter :) i did not think about that :)
Operating environment/Installation (Hass.io/Docker/pip/etc.):
PIP 1.12.2
ESP (ESP32/ESP8266, Board/Sonoff):
Wemos D1 mini
Affected component:
https://esphome.io/components/pcf8574.html
Description of problem: I cannot use PCF8574 with INPUT or INPUT_PULLUP.
Problem-relevant YAML-configuration entries:
Traceback (if applicable):
Additional information and things you've tried: