mirror of
https://github.com/esphome/esphome.git
synced 2026-10-17 03:32:50 +00:00
On ESP8266 codegen emits entity names with PSTR and EntityBase::get_name() is removed there. get_name_to() copies the name into a caller buffer and get_log_name() returns it for %s log arguments; both exist on every platform.