From 3b9570d916bb4451f2ad7020b81bdb4ae2483255 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 6 Nov 2025 17:25:52 -0600 Subject: [PATCH] dry --- esphome/components/wifi/wifi_component.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/wifi/wifi_component.h b/esphome/components/wifi/wifi_component.h index 48ecb3fe8d..040dad3253 100644 --- a/esphome/components/wifi/wifi_component.h +++ b/esphome/components/wifi/wifi_component.h @@ -220,7 +220,7 @@ class WiFiComponent : public Component { void set_sta(const WiFiAP &ap); // Returns a copy of the currently selected AP configuration // Note: This copies the 88-byte WiFiAP. Only used by WiFiConfigureAction for state save/restore. - WiFiAP get_sta(); + WiFiAP get_sta() const; void init_sta(size_t count); void add_sta(const WiFiAP &ap); void clear_sta();