From 4791093e4868491c33075940b9d0b9792a1265b9 Mon Sep 17 00:00:00 2001 From: anatoly-savchenkov <48646998+anatoly-savchenkov@users.noreply.github.com> Date: Sun, 7 Aug 2022 22:51:09 +0300 Subject: [PATCH] Add get_ap() method to WiFi (#3684) --- esphome/components/wifi/wifi_component.h | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/wifi/wifi_component.h b/esphome/components/wifi/wifi_component.h index 615a6905bc..7941e7f643 100644 --- a/esphome/components/wifi/wifi_component.h +++ b/esphome/components/wifi/wifi_component.h @@ -182,6 +182,7 @@ class WiFiComponent : public Component { * can be made, the AP will be turned off again. */ void set_ap(const WiFiAP &ap); + WiFiAP get_ap() { return this->ap_; } void start_scanning(); void check_scanning_finished();