[wifi] ap_active condition (#11852)

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
Flo
2025-11-24 18:19:38 +01:00
committed by GitHub
parent 0764f4da86
commit 66cda04664
4 changed files with 17 additions and 0 deletions

View File

@@ -10,6 +10,10 @@ esphome:
- logger.log: "Connected to WiFi!"
on_error:
- logger.log: "Failed to connect to WiFi!"
- if:
condition: wifi.ap_active
then:
- logger.log: "WiFi AP is active!"
wifi:
networks: