-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathLGtherma_marco.yaml
More file actions
48 lines (45 loc) · 1.22 KB
/
LGtherma_marco.yaml
File metadata and controls
48 lines (45 loc) · 1.22 KB
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
substitutions:
customize: marco
device_name: esp-lgthermav
thermostat_step_size: "0.5"
thermostat_initial_value: "20.5"
max_wtemp_custom: "40.0"
GPIO_modbus_powermeter_tx: "GPIO23"
GPIO_modbus_powermeter_rx: "GPIO22"
GPIO_modbus_LG_tx: "GPIO19"
GPIO_modbus_LG_rx: "GPIO18"
packages:
powermeter: !include packages/Powermeter.yaml
heatpump: !include packages/LGheatpump.yaml
generic: !include packages/generic.yaml
# Enable Home Assistant API
api:
encryption:
key: !secret LG_therma_apikey
id: api_id
password: ""
sensor:
#fake the Huiskamer_xxx sensors to make the rest of the code as generic as possible:)
- platform: homeassistant
name: "Huiskamer lucht"
id: huiskamer_lucht_hass
entity_id: sensor.th_woonkamer_temperature
- platform: template
name: "Huiskamer vloer"
id: huiskamer_vloer
lambda: |-
return 20.0;
- platform: template
id: hp_temp_out
name: "Heatpump temp outflow"
accuracy_decimals: 2
update_interval: 5s
lambda: |-
return id(water_temp_aanvoer).state;
- platform: template
id: hp_temp_in
name: "Heatpump temp inflow"
accuracy_decimals: 2
update_interval: 5s
lambda: |-
return id(water_temp_retour).state;