-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.yaml
More file actions
39 lines (32 loc) · 912 Bytes
/
common.yaml
File metadata and controls
39 lines (32 loc) · 912 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
37
38
39
wifi:
# https://esphome.io/components/wifi
ssid: !secret wifi_ssid
password: !secret wifi_password
#use_address: ${device_name}.fritzbox # I use this to add a custom domain instead of using the default .local
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${friendly_name}"
password: !secret wifi_ap_password
captive_portal:
# Enable logging
logger:
# https://esphome.io/components/logger
# Enable Home Assistant API
api:
# https://esphome.io/components/api
encryption:
key: !secret encryption_key
ota:
# https://esphome.io/components/ota
platform: esphome
password: !secret ota_password
# Enable Web server.
web_server:
port: 80
auth:
username: !secret web_username
password: !secret web_password
# Get the time from Home Assistant to sync the onboard real-time-clock.
time:
- platform: homeassistant
id: ha_time