21 ESP_LOGD(TAG,
"'%s': Sending on data", LOG_STR_ARG(this->
get_log_name()));
25 ESP_LOGD(TAG,
"'%s': Sending off data", LOG_STR_ARG(this->
get_log_name()));
54 LOG_SWITCH(
"",
"UART Switch",
this);
56 ESP_LOGCONFIG(TAG,
" Send Every: %" PRIu32, this->
send_every_);
uint32_t IRAM_ATTR HOT get_loop_component_start_time() const
Get the cached time in milliseconds from when the current component started its loop execution.
const LogString * get_log_name() const
Get the name for a "%s" log argument (LOG_STR_ARG).
bool state
The current reported state of the binary sensor.
void publish_state(bool state)
Publish a state to the front-end from the back-end.
void write_array_progmem(const uint8_t *data, size_t len)
void write_state(bool state) override
const uint8_t * data_off_
void write_command_(bool state)
void dump_config() override
uint32_t last_transmission_
ESPHOME_LOG_TAG(TAG, "uart.binary_sensor")
uint32_t IRAM_ATTR HOT millis()
Application App
Global storage of Application pointer - only one Application can exist.