1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-16 10:12:21 +01:00

Make API ConnectRequest optional for passwordless connections (#9445)

This commit is contained in:
J. Nick Koston
2025-07-15 15:14:43 -10:00
committed by GitHub
parent e012fd5b32
commit 5c2dea79ef
6 changed files with 97 additions and 14 deletions

View File

@@ -273,6 +273,9 @@ class APIConnection : public APIServerConnection {
ProtoWriteBuffer allocate_batch_message_buffer(uint16_t size);
protected:
// Helper function to handle authentication completion
void complete_authentication_();
// Helper function to fill common entity info fields
static void fill_entity_info_base(esphome::EntityBase *entity, InfoResponseProtoMessage &response) {
// Set common fields that are shared by all entity types