ESPHome 2026.6.0-dev
Loading...
Searching...
No Matches
adalight_light_effect.h
Go to the documentation of this file.
1#pragma once
2
6
7#include <vector>
8
9namespace esphome::adalight {
10
12 public:
13 AdalightLightEffect(const char *name);
14
15 void start() override;
16 void stop() override;
17 void apply(light::AddressableLight &it, const Color &current_color) override;
18
19 protected:
25
26 unsigned int get_frame_size_(int led_count) const;
30
34 std::vector<uint8_t> frame_;
35};
36
37} // namespace esphome::adalight
unsigned int get_frame_size_(int led_count) const
void blank_all_leds_(light::AddressableLight &it)
Frame parse_frame_(light::AddressableLight &it)
void reset_frame_(light::AddressableLight &it)
static void uint32_t