1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 13:22:19 +01:00

fix: ensure state is updated in write_state method of DynamicLamp

This commit is contained in:
Oliver Kleinecke
2025-02-15 16:43:46 +01:00
parent a58cea58b2
commit 85fdb67f6b

View File

@@ -11,6 +11,7 @@ void DynamicLamp::write_state(float state) {
if (this->parent_->write_state_(this->lamp_, state)) {
this->state_ = state;
}
}
} // namespace dynamic_lamp
} // namespace esphome