11static constexpr uint8_t MODE_CODES[] PROGMEM = {
33 for (
size_t i = 0; i <
sizeof(MODE_CODES); i++) {
39 ESP_LOGV(TAG,
"Unknown mode %02X",
message.data[0]);
void receive_response(const DucoMessage &message) override
void control(size_t index) override
void publish_state(const std::string &state)
const LogString * message
ESPHOME_LOG_TAG(TAG, "duco")
uint8_t progmem_read_byte(const uint8_t *addr)
A received message; data points into the receive buffer and is valid only during the callback.