mirror of
https://github.com/esphome/esphome.git
synced 2025-09-15 01:32:19 +01:00
Reduce entity memory usage by eliminating field shadowing and bit-packing
This commit is contained in:
@@ -30,7 +30,7 @@ void UpdateEntity::publish_state() {
|
||||
ESP_LOGD(TAG, " Progress: %.0f%%", this->update_info_.progress);
|
||||
}
|
||||
|
||||
this->has_state_ = true;
|
||||
this->set_has_state(true);
|
||||
this->state_callback_.call();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user