-
Notifications
You must be signed in to change notification settings - Fork 0
/
.base.yaml
71 lines (55 loc) · 1.37 KB
/
.base.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
substitutions:
git_rev: undefined
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
power_save_mode: none
use_address: humidifier-s2.lan
# ap:
# ssid: ${friendly_name} Fallback AP
# password: !secret wifi_ap_password
# captive_portal:
# AP and/or Captive portal causes random reboots on this board :(
# See: https://github.com/esphome/issues/issues/1679
# https://community.home-assistant.io/t/cant-stop-esphome-restarting-with-weak-wifi/453821/21
ota:
platform: esphome
port: 3232
password: !secret ota_password
safe_mode:
disabled: false
debug:
update_interval: 5s
button:
- platform: safe_mode
name: "Restart in Safe Mode"
icon: "mdi:restart-alert"
- platform: restart
name: "Restart"
icon: "mdi:restart"
sensor:
- platform: debug
loop_time:
name: "Loop Time"
- platform: uptime
update_interval: 60s
name: Uptime Sensor
- platform: wifi_signal
name: "WiFi Signal"
update_interval: 10s
- platform: internal_temperature
name: "Internal Temperature"
text_sensor:
- platform: debug
reset_reason:
name: "Reset Reason"
- platform: version
name: "ESPHome Version"
hide_timestamp: true
- platform: template
name: "Git Rev"
icon: "mdi:source-repository"
entity_category: "diagnostic"
lambda: |-
return {"${git_rev}"};