Reduce entity memory usage by eliminating field shadowing and bit-packing (#9076)
This commit is contained in:
1 parent
fb12e4e66a
commit
4787e22f61
25 files changed
+260
-87
No files matched your search
@@ -56,7 +56,7 @@ void NextionBinarySensor::set_state(bool state, bool publish, bool send_to_nexti
|
||||
this->publish_state(state);
|
||||
} else {
|
||||
this->state = state;
|
||||
this->has_state_ = true;
|
||||
this->set_has_state(true);
|
||||
}
|
||||
|
||||
this->update_component_settings();
|
||||
|
||||
Reference in new issue
Block a user