ESPHome 2025.6.3
Loading...
Searching...
No Matches
tm1638_switch_led.cpp
Go to the documentation of this file.
1#include "tm1638_switch_led.h"
2#include "esphome/core/log.h"
3
4namespace esphome {
5namespace tm1638 {
6
7static const char *const TAG = "tm1638.led";
8
13
15 LOG_SWITCH("", "TM1638 LED", this);
16 ESP_LOGCONFIG(TAG, " LED: %d", led_);
17}
18
19} // namespace tm1638
20} // namespace esphome
bool state
The current reported state of the binary sensor.
Definition switch.h:56
void publish_state(bool state)
Publish a state to the front-end from the back-end.
Definition switch.cpp:47
uint8_t uint8_t void set_led(int led_pos, bool led_on_off)
Definition tm1638.cpp:117
void write_state(bool state) override
bool state
Definition fan.h:0
const char *const TAG
Definition spi.cpp:8
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7