11#ifdef USE_BINARY_SENSOR
19#ifdef USE_BINARY_SENSOR
29 void setup()
override;
46 uint8_t
print(uint8_t pos, const
char *str);
48 uint8_t
print(const
char *str);
57#ifdef USE_BINARY_SENSOR
84#ifdef USE_BINARY_SENSOR
89#ifdef USE_BINARY_SENSOR
This class simplifies creating components that periodically check a state.
Base class for all binary_sensor-type classes.
void publish_state(bool new_state)
Publish a new state to the front-end.
void set_writer(tm1637_writer_t &&writer)
bool send_byte_(uint8_t b)
float get_setup_priority() const override
void dump_config() override
uint8_t strftime(uint8_t pos, const char *format, ESPTime time) __attribute__((format(strftime
Evaluate the strftime-format and print the result at the given position.
void set_clk_pin(GPIOPin *pin)
std::vector< TM1637Key * > tm1637_keys_
void set_inverted(bool inverted)
void set_length(uint8_t length)
void add_tm1637_key(TM1637Key *tm1637_key)
void set_dio_pin(GPIOPin *pin)
void set_intensity(uint8_t intensity)
uint8_t printf(uint8_t pos, const char *format,...) __attribute__((format(printf
Evaluate the printf-format and print the result at the given position.
void process(uint8_t data)
void set_keycode(uint8_t key_code)
struct @65::@66 __attribute__
Providing packet encoding functions for exchanging data with a remote host.
A more user-friendly version of struct tm from time.h.