7static 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_);
GT911Touchscreen * parent_
void publish_initial_state(bool state)
Publish the initial state, this will not make the callback manager send callbacks and is meant only f...
void publish_state(bool state)
Publish a new state to the front-end.
Providing packet encoding functions for exchanging data with a remote host.