From 03b2d3f9d3ee588ac4c514d77b821455d0a8e191 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Thu, 6 Jun 2024 18:30:09 +1200 Subject: [PATCH] Update e131_addressable_light_effect.h --- esphome/components/e131/e131_addressable_light_effect.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/esphome/components/e131/e131_addressable_light_effect.h b/esphome/components/e131/e131_addressable_light_effect.h index 56df9cd80f..c763d9beea 100644 --- a/esphome/components/e131/e131_addressable_light_effect.h +++ b/esphome/components/e131/e131_addressable_light_effect.h @@ -27,6 +27,7 @@ class E131AddressableLightEffect : public light::AddressableLightEffect { void set_first_universe(int universe) { this->first_universe_ = universe; } void set_channels(E131LightChannels channels) { this->channels_ = channels; } + void set_channel_offset(int offset) { this->channel_offset_ = offset; } void set_e131(E131Component *e131) { this->e131_ = e131; } protected: @@ -34,6 +35,7 @@ class E131AddressableLightEffect : public light::AddressableLightEffect { int first_universe_{0}; int last_universe_{0}; + int channel_offset_{0}; E131LightChannels channels_{E131_RGB}; E131Component *e131_{nullptr};