7static const char *
const TAG =
"tm1638.led";
15 LOG_SWITCH(
"",
"TM1638 LED",
this);
16 ESP_LOGCONFIG(TAG,
" LED: %d",
led_);
bool state
The current reported state of the binary sensor.
void publish_state(bool state)
Publish a state to the front-end from the back-end.
uint8_t uint8_t void set_led(int led_pos, bool led_on_off)
TM1638Component * tm1638_
void dump_config() override
void write_state(bool state) override
Providing packet encoding functions for exchanging data with a remote host.