1
0
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:
J. Nick Koston
2025-06-14 10:00:49 -05:00
parent ee37d2f9c8
commit a1452b52c9
22 changed files with 56 additions and 85 deletions

View File

@@ -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();
}