23 float color_temperature_offset)
24 : glass_attenuation_factor_(glass_attenuation_factor),
28 void setup()
override;
36 SUB_SENSOR(illuminance)
37 SUB_SENSOR(color_temperature)
42 const float glass_attenuation_factor_;
This class simplifies creating components that periodically check a state.
This Class provides the methods to read/write bytes from/to an i2c device.
SUB_SENSOR(red) SUB_SENSOR(green) SUB_SENSOR(blue) SUB_SENSOR(white) SUB_SENSOR(illuminance) SUB_SENSOR(color_temperature) protected const float color_temperature_offset_
VEML6040Component(VEML6040IntegrationTime integration_time, float glass_attenuation_factor, float color_temperature_offset)
void dump_config() override
const VEML6040IntegrationTime integration_time_
IntegrationTime501 integration_time
@ VEML6040_INTEGRATION_TIME_1280MS
@ VEML6040_INTEGRATION_TIME_160MS
@ VEML6040_INTEGRATION_TIME_80MS
@ VEML6040_INTEGRATION_TIME_40MS
@ VEML6040_INTEGRATION_TIME_320MS
@ VEML6040_INTEGRATION_TIME_640MS