[wifi] Test the wifi.connected and wifi.enabled conditions (#20841)

This commit is contained in:
J. Nick Koston
2026-10-17 15:20:00 -10:00
committed by GitHub
parent 32dc3b8535
commit 68fa7b9847
+8
View File
@@ -14,6 +14,14 @@ esphome:
condition: wifi.ap_active
then:
- logger.log: "WiFi AP is active!"
- if:
condition: wifi.connected
then:
- logger.log: "WiFi is connected!"
- if:
condition: wifi.enabled
then:
- logger.log: "WiFi is enabled!"
- wifi.roam
wifi: