From 4e17ef0abb13fdbe5fa12271035c540f8cae947c Mon Sep 17 00:00:00 2001 From: Florian Date: Wed, 12 Nov 2025 16:13:51 +0100 Subject: [PATCH] Wifi AP Condition --- content/components/wifi.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/content/components/wifi.md b/content/components/wifi.md index 11eadcf6be..84d10adbee 100644 --- a/content/components/wifi.md +++ b/content/components/wifi.md @@ -467,6 +467,22 @@ on_...: The lambda equivalent for this is `!id(wifi_id).is_disabled()`. +{{< anchor "wifi-ap-active_condition" >}} + +### `wifi.ap_active` Condition + +This [Condition](/automations/actions#all-conditions) checks if WiFi AP is currently active or not. + +```yaml +on_...: + - if: + condition: wifi.ap_active + then: + - logger.log: WiFi AP is active! +``` + +The lambda equivalent for this is `id(wifi_id).is_ap_active()`. + ## See Also - {{< docref "captive_portal/" >}}