28 SUB_TEXT_SENSOR(
state)
34 void setup()
override;
36 void dump_config()
override;
38 static constexpr size_t STATE_BUFFER_SIZE = 32;
virtual float get_setup_priority() const
priority of setup().
virtual void setup()
Where the component's initialization should happen.
float calculate_temperature_(uint16_t adc_value)
void handle_char_(uint8_t c)
std::vector< uint8_t > rx_message_
const char * state_to_string_(uint8_t state, std::span< char, STATE_BUFFER_SIZE > buffer)
constexpr float LATE
For components that should be initialized at the very end of the setup process.