mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 23:41:45 +01:00
16 lines
299 B
YAML
16 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");'
|