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

Add connection triggers to api (#5628)

This commit is contained in:
Jesse Hills
2023-10-30 15:02:49 +13:00
committed by GitHub
parent 0c46403eaf
commit 27b593ba85
5 changed files with 68 additions and 27 deletions

View File

@@ -207,6 +207,8 @@ class APIConnection : public APIServerConnection {
std::unique_ptr<APIFrameHelper> helper_;
std::string client_info_;
std::string client_peername_;
std::string client_combined_info_;
uint32_t client_api_version_major_{0};
uint32_t client_api_version_minor_{0};
#ifdef USE_ESP32_CAMERA