Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions content/components/wifi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/" >}}
Expand Down