mirror of
https://github.com/esphome/esphome.git
synced 2025-10-26 12:43:48 +00:00
lint
This commit is contained in:
@@ -75,8 +75,9 @@ template<typename... Ts> class RotaryEncoderSetValueAction : public Action<Ts...
|
||||
RotaryEncoderSetValueAction(RotaryEncoderSensor *encoder) : encoder_(encoder) {}
|
||||
TEMPLATABLE_VALUE(int, value)
|
||||
|
||||
void play(Ts... x) override { this->encoder_->set_value(this->value_.value(x...)); }
|
||||
|
||||
protected:
|
||||
void play_(Ts... x) override { this->encoder_->set_value(this->value_.value(x...)); }
|
||||
RotaryEncoderSensor *encoder_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user