1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-19 03:32:20 +01:00

[api] Sync uses_password field_ifdef optimization from aioesphomeapi (#9756)

This commit is contained in:
J. Nick Koston
2025-07-20 18:59:48 -10:00
committed by GitHub
parent fc286c8bf4
commit 305667b06d
5 changed files with 9 additions and 3 deletions

View File

@@ -474,7 +474,9 @@ class DeviceInfoResponse : public ProtoMessage {
#ifdef HAS_PROTO_MESSAGE_DUMP
const char *message_name() const override { return "device_info_response"; }
#endif
#ifdef USE_API_PASSWORD
bool uses_password{false};
#endif
std::string name{};
std::string mac_address{};
std::string esphome_version{};