mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
15 lines
299 B
YAML
15 lines
299 B
YAML
wifi:
|
|
ssid: MySSID
|
|
password: password1
|
|
|
|
time:
|
|
- platform: sntp
|
|
id: sntp_time
|
|
servers:
|
|
- 0.pool.ntp.org
|
|
- 1.pool.ntp.org
|
|
- 192.168.178.1
|
|
on_time:
|
|
cron: "/30 0-30,30/5 * ? JAN-DEC MON,SAT-SUN,TUE-FRI"
|
|
then:
|
|
- lambda: 'ESP_LOGD("main", "time");'
|