-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfans.yaml
76 lines (70 loc) · 1.77 KB
/
fans.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
---
- alias: Turn Off Air Purifier Weekdays (6:30am)
id: turn_off_air_purifier_weekdays
triggers:
trigger: time
at: "06:30:00"
conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
actions:
action: switch.turn_off
data:
entity_id: switch.wemo_mini_1
- alias: Turn Off Air Purifier Weekends (7:15am)
id: turn_off_air_purifier_weekends
triggers:
trigger: time
at: "07:15:00"
conditions:
- condition: time
weekday:
- sat
- sun
actions:
action: switch.turn_off
data:
entity_id: switch.wemo_mini_1
- alias: Turn On Air Purifier Mid-Morning
id: turn_on_air_purifier_midmorning
triggers:
trigger: time
at: "07:20:00"
actions:
action: switch.turn_on
data:
entity_id: switch.wemo_mini_1
- alias: Motion - Turn Off Guest Bathroom Fan When No Motion Detected
id: motion_turn_off_guest_bathroom_fan_when_no_motion_detected
triggers:
- trigger: state
entity_id: binary_sensor.4_in_1_sensor_home_security_motion_detection
from: "on"
to: "off"
for: "00:05:00"
conditions:
- condition: state
entity_id: switch.dimmer_dry_contact_relay
state: "on"
actions:
- action: switch.turn_off
entity_id: switch.dimmer_dry_contact_relay
- alias: Turn Off Primary Bathroom Fan After Period Of Time
id: turn_off_primary_bathroom_fan_after_period_of_time
description: >
Turn off the fan if it's been on for 20 minutes. There isn't motion
detection available.
triggers:
- trigger: state
entity_id: switch.dimmer_dry_contact_relay_2
to: "on"
for: "00:20:00"
conditions: []
actions:
- action: switch.turn_off
entity_id: switch.dimmer_dry_contact_relay_2