mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 18:18:43 +00:00
Update esphome/core/entity_base.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot
parent
da40288b2d
commit
70c3c48eba
@@ -119,7 +119,7 @@ class EntityBase {
|
||||
}
|
||||
|
||||
// Get this entity's device class into a stack buffer.
|
||||
// On ESP32: returns pointer to PROGMEM string directly (buffer unused).
|
||||
// On non-ESP8266: returns pointer to PROGMEM string directly (buffer unused).
|
||||
// On ESP8266: copies from PROGMEM to buffer, returns buffer pointer.
|
||||
const char *get_device_class_to(std::span<char, MAX_DEVICE_CLASS_LENGTH> buffer) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user