46 traits.set_min_mireds(153);
47 traits.set_max_mireds(500);
51 traits.set_min_mireds(153);
52 traits.set_max_mireds(500);
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
Interface to write LightStates to hardware.
void write_state(light::LightState *state) override
RGB color output and a separate white output.
Brightness of cold and warm white output can be controlled.
light::LightTraits get_traits() override
Light can be turned on/off.
void set_type(DemoLightType type)
RGB color output and a separate white output with controllable color temperature. ...
Master brightness of the light can be controlled.
White output only (use only if the light also has another color mode such as RGB).
This class is used to represent the capabilities of a light.
Implementation of SPI Controller mode.
Color can be controlled using RGB format (includes a brightness control for the color).