7 static const char *
const TAG =
"tt21100.binary_sensor";
10 this->
parent_->register_button_listener(
this);
15 LOG_BINARY_SENSOR(
"",
"TT21100 Button",
this);
16 ESP_LOGCONFIG(TAG,
" Index: %u", this->
index_);
void publish_initial_state(bool state)
Publish the initial state, this will not make the callback manager send callbacks and is meant only f...
TT21100Touchscreen * parent_
bool state
The current reported state of the binary sensor.
void publish_state(bool state)
Publish a new state to the front-end.
Implementation of SPI Controller mode.