mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 10:08:40 +00:00
Merge remote-tracking branch 'origin/entity-base-inline-accessors' into integration
This commit is contained in:
@@ -86,7 +86,7 @@ class EntityBase {
|
||||
std::string get_object_id() const;
|
||||
|
||||
// Get the unique Object ID of this Entity
|
||||
uint32_t get_object_id_hash() { return this->object_id_hash_; }
|
||||
uint32_t get_object_id_hash() const { return this->object_id_hash_; }
|
||||
|
||||
/// Get object_id with zero heap allocation
|
||||
/// For static case: returns StringRef to internal storage (buffer unused)
|
||||
|
||||
Reference in New Issue
Block a user