How do you use timeout: with wait_until: ?
I’ve tried many scenarios, and searched only with now luck.
This works for wai_until: without a timeout:
esphome:
name: huzzahwin9b
on_boot:
priority: 600 # Defaults to 600 DOESN'T WAIT FOR WIFI
then:
- wait_until:
wifi.connected: # timeout: HOW TO USE IT?
- lambda: 'id(displaytext).publish_state("wifi on");'
- wait_until:
api.connected: # REMEMBER THAT LOGGER COUNTS AS AN API CLIENT
- lambda: 'id(displaytext2).publish_state("api on");'
Clearly it’s in the documentation (link below), but as usual there are no examples.
“Automations and Templates — ESPHome”