11namespace addressable_light {
42 void setup()
override;
light::LightState * light_state_
int get_width_internal() override
void set_light(light::LightState *state)
std::vector< Color > addressable_light_buffer_
optional< std::function< int(int, int)> > pixel_mapper_f_
light::AddressableLight * light_
int get_height_internal() override
optional< std::string > last_effect_
void set_enabled(bool enabled)
void draw_absolute_pixel_internal(int x, int y, Color color) override
display::DisplayType get_display_type() override
void set_height(int32_t height)
void set_pixel_mapper(std::function< int(int, int)> &&pixel_mapper_f)
light::AddressableLight * get_light() const
void set_width(int32_t width)
LightCall & set_effect(optional< std::string > effect)
Set the effect of the light by its name.
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
std::string get_effect_name()
Return the name of the current effect, or if no effect is active "None".
Providing packet encoding functions for exchanging data with a remote host.