-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.yaml
74 lines (71 loc) · 2.61 KB
/
configure.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
config.yaml
# Sensors
sensor:
- platform: rest
# x.x.x.x with local ip of stove
resource: http://x.x.x.x/get_stove_data
method: GET
name: HWAM
value_template: '{{ (value_json.stove_temperature | float / 100) | round(0) }}'
json_attributes:
- phase
- new_fire_wood_hours
- new_fire_wood_minutes
- burn_level
- operation_mode
- maintenance_alarms
# - version_major
# - version_minor
# - version_build
# - remote_version_major
# - remote_version_minor
# - remote_version_build
- stove_temperature
- room_temperature
- oxygen_level
- valve1_position
- valve2_position
- valve3_position
- algorithm
- doorOpen
- platform: template
sensors:
hwam_phase:
friendly_name: 'Brændeovn faser'
icon_template: mdi:book-open
value_template: '{{ states.sensor.hwam.attributes["phase"] }}'
hwam_burn_level:
friendly_name: 'Brændeovn level'
icon_template: mdi:spirit-level
value_template: '{{ states.sensor.hwam.attributes["burn_level"] }}'
hwam_operation_mode:
friendly_name: 'Brændeovn mode'
icon_template: mdi:book-open
value_template: '{{ states.sensor.hwam.attributes["operation_mode"] }}'
hwam_stove_temperature:
friendly_name: 'Brændeovn temperatur'
icon_template: mdi:fireplace
unit_of_measurement: '°C'
value_template: '{{ (states.sensor.hwam.attributes["stove_temperature"] | float / 100) | round(0) }}'
hwam_room_temperature:
friendly_name: 'Brændeovn rum temperatur'
icon_template: mdi:home-thermometer-outline
unit_of_measurement: '°C'
value_template: '{{ (states.sensor.hwam.attributes["room_temperature"] | float / 100) | round(0) }}'
hwam_valve1_position:
friendly_name: 'Brændeovn ventil 1'
icon_template: mdi:valve
value_template: '{{ states.sensor.hwam.attributes["valve1_position"] }}'
hwam_valve2_position:
friendly_name: 'Brændeovn ventil 2'
icon_template: mdi:valve
value_template: '{{ states.sensor.hwam.attributes["valve2_position"] }}'
hwam_valve3_position:
friendly_name: 'Brændeovn ventil 3'
icon_template: mdi:valve
value_template: '{{ states.sensor.hwam.attributes["valve3_position"] }}'
hwam_oxygen_level:
friendly_name: 'Brændeovn oxygen'
icon_template: mdi:molecule-co2
unit_of_measurement: '%'
value_template: '{{ states.sensor.hwam.attributes["oxygen_level"] }}'