Binary sensor not associated with a pin?

I have run out of GPIOs on my ESP32 and am using a PCF8574 for some additional output and inputs.

I also need to be able to expose some binary_sensors to HA that aren’t associated with inputs or outputs. A bit like an input_boolean in HA.

Is there a way to do this without adding another PCF8574 and then not using the pins?

I guess I’m simply asking if there is an input_boolean equivalent in ESPHome that can be configured and exposed to HA.

Hope that makes sense.

Well, there you go. Thank you for pointing me in the right direction.

1 Like