-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathconfiguration.yaml
93 lines (86 loc) · 2.22 KB
/
configuration.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
default_config:
logger:
default: info
logs:
custom_components.sat: debug
custom_components.interpolated_sensor: debug
homeassistant:
customize:
climate.heater:
sensor_temperature_id: "sensor.heater_temperature"
climate:
- platform: generic_thermostat
name: Fake Thermostat
heater: input_boolean.fake_thermostat
target_sensor: sensor.current_temperature
switch:
- platform: template
switches:
heater:
value_template: "{{ is_state('input_boolean.heater', 'on') }}"
turn_on:
service: input_boolean.turn_on
target:
entity_id: input_boolean.heater
turn_off:
service: input_boolean.turn_off
target:
entity_id: input_boolean.heater
template:
binary_sensor:
name: "Window"
device_class: "window"
state: "{{ is_state('input_boolean.window_sensor', 'on') }}"
sensor:
- unit_of_measurement: °C
name: Heater Temperature
device_class: 'temperature'
unique_id: heater_temperature
state: "{{ states('input_number.heater_temperature_raw') }}"
- unit_of_measurement: °C
name: Current Temperature
device_class: 'temperature'
unique_id: current_temperature
state: "{{ states('input_number.current_temperature_raw') }}"
- unit_of_measurement: °C
name: Outside Temperature
device_class: 'temperature'
unique_id: outside_temperature
state: "{{ states('input_number.outside_temperature_raw') }}"
- unit_of_measurement: "%"
name: Current Humidity
device_class: 'humidity'
unique_id: current_humidity
state: "{{ states('input_number.humidity_raw') }}"
input_number:
heater_temperature_raw:
name: Heater Temperature
initial: 19.5
min: 0
max: 35
step: 0.01
current_temperature_raw:
name: Current Temperature
initial: 19.5
min: 0
max: 35
step: 0.01
outside_temperature_raw:
name: Outside Temperature
initial: 10
min: 0
max: 35
step: 0.01
humidity_raw:
name: Humidity
initial: 50
min: 0
max: 100
step: 0.1
input_boolean:
heater:
name: Heater
window_sensor:
name: Window Sensor
fake_thermostat:
name: Fake Thermostat