forked from dashdrum/esphome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplantstand.yaml
58 lines (44 loc) · 1018 Bytes
/
plantstand.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
substitutions:
device_name: plantstand
upper_device_name: Plant Stand
ip_address: 192.168.37.205
esphome:
name: $device_name
platform: ESP8266
board: d1_mini
wifi: !include include/wifi_iot_manual.yaml
captive_portal:
# Enable logging
logger:
level: ERROR
# Enable Home Assistant API
# api:
ota:
web_server:
port: 80
mqtt: !include include/mqtt_deep_sleep.yaml
i2c:
sensor:
- !include include/sht3xd-45.yaml
- platform: adc
pin: A0
filters:
- multiply: 128.000142880022
- lambda: >-
if (x > 100){
return 100;
}
return x;
unit_of_measurement: "%"
name: $upper_device_name Battery
device_class: battery
update_interval: 60s
expire_after: 60min
state_topic: $device_name/battery/state
- platform: wifi_signal
name: $upper_device_name WiFi Signal
update_interval: 60s
deep_sleep: !include include/deep_sleep_15.yaml
button:
- platform: restart
name: $upper_device_name Restart