mirror of
https://github.com/esphome/esphome.git
synced 2024-12-02 11:44:13 +01:00
16 lines
336 B
YAML
16 lines
336 B
YAML
esphome:
|
|
on_boot:
|
|
then:
|
|
- wifi.disable
|
|
- wifi.enable
|
|
- wifi.configure:
|
|
ssid: MySSID
|
|
password: password1
|
|
on_connect:
|
|
- logger.log: "Connected to WiFi!"
|
|
on_error:
|
|
- logger.log: "Failed to connect to WiFi!"
|
|
|
|
wifi:
|
|
ssid: MySSID
|
|
password: password1
|