-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.yaml
More file actions
36 lines (30 loc) · 885 Bytes
/
common.yaml
File metadata and controls
36 lines (30 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
substitutions:
dns_domain: !secret dns_domain
timezone: !secret timezone
esphome:
name: ${name}
friendly_name: ${area} ${friendly_name}
name_add_mac_suffix: false
area: ${area}
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
domain: !secret wifi_domain
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${name} Fallback Hotspot"
password: !secret fallback_hotspot_password
min_auth_mode: WPA2
# Enable Home Assistant API
api:
encryption:
key: !secret api_encryption_key
# Don't enable OTA referencing secrets.yaml until you change the password manually for each device
# See https://esphome.io/components/ota/esphome.html#updating-the-password
ota:
- id: !extend ota_esphome
password: !secret ota_password
captive_portal:
time:
- id: !extend sntp_time
servers: time.cloudflare.com