25 state->current_values_as_brightness(&brightness);
Helper class to easily give an object a parent of type T.
MipiSpiBrightness * parent_
Interface to write LightStates to hardware.
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
This class is used to represent the capabilities of a light.
light::LightTraits get_traits() override
MipiSpiLight(uint8_t min_brightness, uint8_t max_brightness)
void write_state(light::LightState *state) override
@ BRIGHTNESS
Dimmable light.