-
Notifications
You must be signed in to change notification settings - Fork 0
/
heating_device.yaml
32 lines (32 loc) · 1.22 KB
/
heating_device.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
mqtt:
- climate:
name: "Vaillant"
unique_id: "vr720-heating"
device:
manufacturer: "Vaillant"
model: "Ctlv2-Heating"
name: "Ctlv2-Heating"
suggested_area: "Heating"
identifiers:
- !secret heating_device_serial
min_temp: 16
max_temp: 25
precision: 0.5
temp_step: 0.5
current_temperature_topic: "ha/flats/avgTemp"
temperature_command_topic: "ebusd/ctlv2/z1HeatingRoomTempDesiredManualControlled/set"
temperature_state_topic: "ebusd/ctlv2/z1HeatingRoomTempDesiredManualControlled"
temperature_state_template: "{{ value_json['tempv']['value'] }}"
modes:
- "off"
- "auto"
- "heat"
mode_command_topic: "ebusd/ctlv2/z1OpModeHeating/set"
mode_command_template: >-
{% set values = { 'auto':'time controlled', 'heat':'manual', 'off':'off'} %}
{{ values[value] if value in values.keys() else 'auto' }}
mode_state_topic: "ebusd/ctlv2/z1OpModeHeating"
mode_state_template: >-
{% set values = { 'time controlled':'auto', 'manual':'heat', 'off':'off'} %}
{% set val = value_json['opmode2']['value'] %}
{{ values[val] if val in values.keys() else 'auto' }}