47 void setup()
override;
Base class for all binary_sensor-type classes.
void publish_state(bool state)
Publish a new state to the front-end.
void process(uint8_t data)
void set_channel(uint8_t channel)
void set_reset_pin(GPIOPin *reset_pin)
void set_allow_multiple_touches(bool allow_multiple_touches)
void dump_config() override
uint8_t cap1188_product_id_
enum esphome::cap1188::CAP1188Component::ErrorCode NONE
void register_channel(CAP1188Channel *channel)
uint8_t cap1188_manufacture_id_
uint8_t allow_multiple_touches_
uint8_t cap1188_revision_
void set_touch_threshold(uint8_t touch_threshold)
std::vector< CAP1188Channel * > channels_
float get_setup_priority() const override
This Class provides the methods to read/write bytes from/to an i2c device.
@ CAP1188_STAND_BY_CONFIGURATION
@ CAP1188_INTERUPT_REPEAT
@ CAP1188_SENSOR_INPUT_STATUS
const float DATA
For components that import data from directly connected sensors like DHT.
Providing packet encoding functions for exchanging data with a remote host.