-
Notifications
You must be signed in to change notification settings - Fork 7
/
puffer_01.yaml
68 lines (63 loc) · 1.91 KB
/
puffer_01.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
sensor:
- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
name: "${name} Puffer 1 Temperatur oben"
id: ${name}_Puffer_1_Temperatur_oben
register_type: read
address: 2000
unit_of_measurement: "°C"
device_class: "temperature"
state_class: "measurement"
value_type: U_WORD
filters:
- multiply: 0.5
- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
name: "${name} Puffer 1 Temperatur mitte"
id: ${name}_Puffer_1_Temperatur_mitte
register_type: read
address: 2001
unit_of_measurement: "°C"
device_class: "temperature"
state_class: "measurement"
value_type: U_WORD
filters:
- multiply: 0.5
- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
name: "${name} Puffer 1 Temperatur unten"
id: ${name}_Puffer_1_Temperatur_unten
register_type: read
address: 2002
unit_of_measurement: "°C"
device_class: "temperature"
state_class: "measurement"
value_type: U_WORD
filters:
- multiply: 0.5
- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
name: "${name} Puffer 1 Ladezustand"
id: ${name}_Puffer_1_Ladezustand
register_type: read
address: 2006
unit_of_measurement: "%"
value_type: U_WORD
- platform: modbus_controller
modbus_controller_id: ${modbus_controller_id}
name: "${name} Puffer 1 Pufferpumpen Ansteuerung"
id: ${name}_Puffer_1_Pufferpumpen_Ansteuerung
register_type: read
address: 2003
unit_of_measurement: "%"
value_type: U_WORD
binary_sensor:
- platform: template
name: "${name} Puffer 1 Pufferpumpen Ansteuerung AN AUS"
id: ${name}_Puffer_1_Pufferpumpen_Ansteuerung_AN_AUS
lambda: |-
if (id(${name}_Puffer_1_Pufferpumpen_Ansteuerung).state > 0) {
return true;
} else {
return false;
}