19 bool match_found =
false;
void trigger(const char *event_type)
Trigger an event; the type is matched against the configured types by string compare.
bool read_available(F &&on_byte)
Same as read_available_chunks(), calling on_byte(uint8_t) once per byte.
const UARTEventMatcher * matchers_
void dump_config() override
std::vector< uint8_t > buffer_
uint16_t max_matcher_len_
ESPHOME_LOG_TAG(TAG, "uart.binary_sensor")
uint8_t progmem_read_byte(const uint8_t *addr)
An event type and the byte pattern that fires it; data may point to PROGMEM.