-
Notifications
You must be signed in to change notification settings - Fork 2
/
waterHeaterAutomations.yaml.example
77 lines (75 loc) · 2.12 KB
/
waterHeaterAutomations.yaml.example
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
- id: '1640205176027'
alias: Water heater power on
description: Automation that allows us to turn on and off the boiler according
to the current we produce with the photovoltaic system to which we
subtract the one used by the house.
trigger:
- platform: numeric_state
entity_id: sensor.power_difference
above: '1000'
- platform: numeric_state
entity_id: sensor.home_power
below: '1750'
condition:
- condition: numeric_state
entity_id: sensor.home_power
below: '1750'
- condition: state
entity_id: switch.switch_boiler
state: 'off'
- condition: numeric_state
entity_id: sensor.power_difference
above: '1000'
- condition: state
entity_id: binary_sensor.boil_off_1min
state: 'on'
- condition: state
entity_id: input_boolean.automazioni_boiler
state: 'on'
action:
- type: turn_on
device_id: 68152b6869280c61c08bc1c6b7c1d404
entity_id: switch.switch_boiler
domain: switch
mode: single
- id: '1640874461166'
alias: Water heater power off overpower
description: 'We turn off the water heater when we consume more than 3100W
in the house so as to avoid the general power cut.'
trigger:
- platform: numeric_state
entity_id: sensor.home_power
above: '3100'
condition:
- condition: state
entity_id: switch.switch_boiler
state: 'on'
- condition: state
entity_id: input_boolean.automation_boiler
state: 'on'
action:
- type: turn_off
device_id: 68152b6869280c61c08bc1c6b7c1d404
entity_id: switch.interruttore_boiler
domain: switch
mode: single
- id: '1641921739360'
alias: Water heater power off
description: 'We turn off the water heater when the power difference (IN-OUT) is less than -250W'
trigger:
- platform: numeric_state
entity_id: sensor.power_difference
below: '-250'
condition:
- condition: state
entity_id: switch.switch_boiler
state: 'on'
- condition: state
entity_id: input_boolean.automation_boiler
state: 'on'
action:
- type: turn_off
device_id: 68152b6869280c61c08bc1c6b7c1d404
entity_id: switch.switch_boiler
domain: switch
mode: single