From 4faa9d109eec8d13cac74f32926237b0087d839a Mon Sep 17 00:00:00 2001 From: Fabian Date: Fri, 31 Mar 2023 06:28:49 +0200 Subject: [PATCH] entity_base avoid padding bytes. (#4637) Co-authored-by: Your Name --- esphome/core/entity_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/core/entity_base.h b/esphome/core/entity_base.h index 0a53c3fccc..e40a7013bf 100644 --- a/esphome/core/entity_base.h +++ b/esphome/core/entity_base.h @@ -54,10 +54,10 @@ class EntityBase { void calc_object_id_(); StringRef name_; - bool has_own_name_{false}; const char *object_id_c_str_{nullptr}; const char *icon_c_str_{nullptr}; uint32_t object_id_hash_; + bool has_own_name_{false}; bool internal_{false}; bool disabled_by_default_{false}; EntityCategory entity_category_{ENTITY_CATEGORY_NONE};