-
Notifications
You must be signed in to change notification settings - Fork 1
/
automations.yaml
46 lines (46 loc) · 1.21 KB
/
automations.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
- id: '1659127900114'
alias: Greenhouse Fan On
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.greenhouse_temperature
for:
hours: 0
minutes: 5
seconds: 0
above: input_number.greenhouse_fan_setpoint
condition: []
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.greenhouse_fan
- service: notify.tina
data:
message: Greenhouse Temperature ({{ states('sensor.greenhouse_temperature')
}}) higher than setpoint ({{states('input_number.greenhouse_fan_setpoint')}})
- Activating Fans
mode: single
- id: '1659128695170'
alias: Greenhouse Fan Off
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.greenhouse_temperature
for:
hours: 0
minutes: 5
seconds: 0
below: input_number.greenhouse_fan_setpoint
condition: []
action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.greenhouse_fan
- service: notify.tina
data:
message: Greenhouse Temperature ({{ states('sensor.greenhouse_temperature')
}}) below setpoint ({{states('input_number.greenhouse_fan_setpoint')}}) -
Turning off Fans
mode: single