Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/esphome/light/addressable_light_effect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ namespace light {
void AddressableLightEffect::start_internal() {
this->get_addressable_()->set_effect_active(true);
this->get_addressable_()->clear_effect_data();
this->high_freq_.start();
this->start();
}

void AddressableLightEffect::stop() {
this->get_addressable_()->set_effect_active(false);
this->high_freq_.stop();
}
void AddressableLightEffect::stop() { this->get_addressable_()->set_effect_active(false); }

AddressableLight *AddressableLightEffect::get_addressable_() const {
return (AddressableLight *) this->state_->get_output();
Expand Down
2 changes: 0 additions & 2 deletions src/esphome/light/addressable_light_effect.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ class AddressableLightEffect : public LightEffect {

protected:
AddressableLight *get_addressable_() const;

HighFrequencyLoopRequester high_freq_;
};

class AddressableLambdaLightEffect : public AddressableLightEffect {
Expand Down