Update esphome/core/entity_base.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2026-03-06 07:25:30 -10:00
committed by GitHub
co-authored by Copilot
parent da40288b2d
commit 70c3c48eba
+1 -1
View File
@@ -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;