mirror of
https://github.com/esphome/esphome.git
synced 2026-08-22 22:26:21 +00:00
26 lines
520 B
YAML
26 lines
520 B
YAML
# Exercises the provisioning window: api registers as a provisioning source
|
|
# (encryption enabled, no key), the on_timeout automation, and the wifi +
|
|
# esp32_improv cross-component guards. improv_serial is intentionally NOT gated.
|
|
provisioning:
|
|
timeout: 1min
|
|
on_timeout:
|
|
then:
|
|
- logger.log: "Provisioning window expired"
|
|
|
|
api:
|
|
encryption:
|
|
|
|
wifi:
|
|
ssid: MySSID
|
|
password: password1
|
|
|
|
improv_serial:
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
pin: 0
|
|
id: io0_button
|
|
|
|
esp32_improv:
|
|
authorizer: io0_button
|