mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 23:18:10 +01:00
entity_base avoid padding bytes. (#4637)
Co-authored-by: Your Name <you@example.com>
This commit is contained in:
parent
28534ecc61
commit
4faa9d109e
1 changed files with 1 additions and 1 deletions
|
@ -54,10 +54,10 @@ class EntityBase {
|
||||||
void calc_object_id_();
|
void calc_object_id_();
|
||||||
|
|
||||||
StringRef name_;
|
StringRef name_;
|
||||||
bool has_own_name_{false};
|
|
||||||
const char *object_id_c_str_{nullptr};
|
const char *object_id_c_str_{nullptr};
|
||||||
const char *icon_c_str_{nullptr};
|
const char *icon_c_str_{nullptr};
|
||||||
uint32_t object_id_hash_;
|
uint32_t object_id_hash_;
|
||||||
|
bool has_own_name_{false};
|
||||||
bool internal_{false};
|
bool internal_{false};
|
||||||
bool disabled_by_default_{false};
|
bool disabled_by_default_{false};
|
||||||
EntityCategory entity_category_{ENTITY_CATEGORY_NONE};
|
EntityCategory entity_category_{ENTITY_CATEGORY_NONE};
|
||||||
|
|
Loading…
Reference in a new issue