mirror of
https://github.com/esphome/esphome.git
synced 2026-08-31 10:06:03 +00:00
[api] Fix value-initialization of DeviceInfoResponse (#14615)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
This commit is contained in:
co-authored by
Keith Burzinski
parent
66919ef969
commit
d55fe9a34b
@@ -1571,7 +1571,7 @@ bool APIConnection::send_ping_response_() {
|
||||
}
|
||||
|
||||
bool APIConnection::send_device_info_response_() {
|
||||
DeviceInfoResponse resp{};
|
||||
DeviceInfoResponse resp;
|
||||
resp.name = StringRef(App.get_name());
|
||||
resp.friendly_name = StringRef(App.get_friendly_name());
|
||||
#ifdef USE_AREAS
|
||||
|
||||
Reference in New Issue
Block a user