18 void setup()
override;
void update_dimmer_(uint32_t value)
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
optional< uint8_t > min_value_datapoint_id_
bool color_temperature_invert_
optional< TuyaColorType > color_type_
Interface to write LightStates to hardware.
void set_color_temperature_invert(bool color_temperature_invert)
void set_warm_white_temperature(float warm_white_temperature)
float warm_white_temperature_
light::LightTraits get_traits() override
void set_dimmer_id(uint8_t dimmer_id)
void set_min_value(uint32_t min_value)
uint32_t color_temperature_max_value_
optional< uint8_t > color_temperature_id_
void write_state(light::LightState *state) override
void set_min_value_datapoint_id(uint8_t min_value_datapoint_id)
optional< uint8_t > dimmer_id_
void setup_state(light::LightState *state) override
void set_tuya_parent(Tuya *parent)
void dump_config() override
optional< uint8_t > color_id_
void set_color_interlock(bool color_interlock)
void set_switch_id(uint8_t switch_id)
This class is used to represent the capabilities of a light.
void set_max_value(uint32_t max_value)
float cold_white_temperature_
Implementation of SPI Controller mode.
void set_color_temperature_max_value(uint32_t color_temperature_max_value)
void set_cold_white_temperature(float cold_white_temperature)
void update_switch_(uint32_t value)
void set_color_type(TuyaColorType color_type)
void set_color_temperature_id(uint8_t color_temperature_id)
light::LightState * state_
optional< uint8_t > switch_id_
void set_color_id(uint8_t color_id)