20 void read_lx_(
const std::function<
void(
float)> &
f);
ESPDEPRECATED("set_retry is deprecated and will be removed in 2026.8.0. Use set_timeout or set_interval instead.", "2026.2.0") void set_retry(const std uint32_t uint8_t std::function< RetryResult(uint8_t)> && f
This class simplifies creating components that periodically check a state.
This Class provides the methods to read/write bytes from/to an i2c device.
This class implements support for the i2c-based OPT3001 ambient light sensor.
void read_result_(const std::function< void(float)> &f)
void read_lx_(const std::function< void(float)> &f)
void dump_config() override
Base-class for all sensors.
Providing packet encoding functions for exchanging data with a remote host.