10#ifdef USE_BINARY_SENSOR
18#ifdef USE_BINARY_SENSOR
28 void setup()
override;
45 uint8_t
print(uint8_t pos, const
char *str);
47 uint8_t
print(const
char *str);
56#ifdef USE_BINARY_SENSOR
83#ifdef USE_BINARY_SENSOR
88#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 state)
Publish a new state to the front-end.
void set_writer(tm1637_writer_t &&writer)
optional< 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 @67::@68 __attribute__
std::function< void(TM1637Display &)> tm1637_writer_t
Providing packet encoding functions for exchanging data with a remote host.
A more user-friendly version of struct tm from time.h.