Add optional timeout for wait_until action (#2282)

This commit is contained in:
Jesse Hills
2021-10-13 08:23:24 +13:00
committed by GitHub
parent 1184bbc976
commit 34db9d9ef2
4 changed files with 30 additions and 6 deletions

View File

@@ -5,10 +5,13 @@ esphome:
board: d1_mini
build_path: build/test3
on_boot:
- wait_until:
- api.connected
- wifi.connected
- time.has_time
- if:
condition:
- api.connected
- wifi.connected
- time.has_time
then:
- logger.log: "Have time"
includes:
- custom.h
@@ -1291,4 +1294,3 @@ dsmr:
daly_bms:
update_interval: 20s
uart_id: uart1