mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-01 18:48:28 +02:00
add missing overrides (#7231)
This commit is contained in:
@@ -19,7 +19,7 @@ class LVGLSwitch : public switch_::Switch {
|
||||
}
|
||||
|
||||
protected:
|
||||
void write_state(bool value) {
|
||||
void write_state(bool value) override {
|
||||
if (this->state_lambda_ != nullptr)
|
||||
this->state_lambda_(value);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user