7 static const char *
const TAG =
"GT911.binary_sensor";
10 this->
parent_->register_button_listener(
this);
15 LOG_BINARY_SENSOR(
"",
"GT911 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...
GT911Touchscreen * 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.