forked from andreondra/homeassistant-poolstar-poolex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
esphome_poolex.yaml
77 lines (63 loc) · 1.22 KB
/
esphome_poolex.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
72
73
74
75
76
77
substitutions:
device_id: "pool_heat_pump"
esphome:
name: eh_${device_id}
esp8266:
board: esp12e
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "EDIT_ME"
ota:
password: "EDIT_ME"
wifi:
ssid: "EDIT_ME"
password: "EDIT_ME"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "EDIT_ME"
password: "EDIT_ME"
captive_portal:
uart:
rx_pin: GPIO4
tx_pin: GPIO5
baud_rate: 9600
tuya:
# On-off.
switch:
- platform: "tuya"
name: ${device_id}_power
switch_datapoint: 1
# Target temperature.
number:
- platform: "tuya"
name: ${device_id}_target_temp
device_class: temperature
unit_of_measurement: "°C"
number_datapoint: 2
min_value: 20
max_value: 40
step: 1
# Current temperature.
sensor:
- platform: "tuya"
name: ${device_id}_current_temp
device_class: temperature
unit_of_measurement: "°C"
sensor_datapoint: 3
# Current mode.
select:
- platform: "tuya"
name: ${device_id}_mode
enum_datapoint: 4
optimistic: false
options:
0: "ECO Heat"
1: "ECO Cool"
2: "Automatic"
3: "Boost Heat"
4: "Silent Heat"
5: "Boost Cool"
6: "Silent Cool"