-
Notifications
You must be signed in to change notification settings - Fork 0
/
hass-temp-02.yaml
43 lines (37 loc) · 968 Bytes
/
hass-temp-02.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
substitutions:
name: hass-temp-02
friendly_name: Temperature 02
comment: Adafruit QT Py ESP32S2 - MQTT - TMP117
esphome:
name: ${name}
comment: ${comment}
packages:
mqtt: !include packages/common/mqtt.yaml
sensors: !include packages/common/sensors.yaml
ota: !include packages/common/ota.yaml
text_sensor: !include packages/common/text_sensors.yaml
binary_sensors: !include packages/common/binary_sensors.yaml
logger: !include packages/common/logger.yaml
buttons: !include packages/common/buttons.yaml
esp32:
board: adafruit_qtpy_esp32s2
wifi:
fast_connect: true
ssid: !secret wifi_ssid
password: !secret wifi_password
# ssid: !secret wifi_ssid_lexit
# password: !secret wifi_password_lexit
i2c:
frequency: 800kHz
scan: true
sda: SDA1
scl: SCL1
sensor:
- platform: tmp117
name: "${friendly_name} Temperature"
address: 0x48
filters:
- median:
window_size: 4
send_every: 2
send_first_at: 2