21 state->current_values_as_brightness(&brightness);
22 this->
parent_->set_panel_brightness(brightness);
Helper class to easily give an object a parent of type T.
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.
void write_state(light::LightState *state) override
light::LightTraits get_traits() override
@ BRIGHTNESS
Dimmable light.