-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomation.yaml
70 lines (61 loc) · 1.44 KB
/
automation.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
- alias: Garage door toggle
trigger:
platform: state
entity_id: switch.garagedoor
state: 'on'
for:
milliseconds: 100
action:
service: switch.turn_off
entity_id: switch.garagedoor
- alias: Hot water cycle toggle
trigger:
platform: state
entity_id: switch.hotwaterswitch_switch_20_0
state: 'on'
for:
minutes: 5
action:
service: switch.turn_off
entity_id: switch.hotwaterswitch_switch_20_0
- alias: Turn external lights on before sunset
trigger:
platform: sun
event: sunset
action:
service: homeassistant.turn_on
entity_id: group.outdoorlights
- alias: Turn external lights off after sunrise
trigger:
platform: sun
event: sunrise
action:
service: homeassistant.turn_off
entity_id: group.outdoorlights
- alias: Start heat at 6am
trigger:
- platform: time
after: "6:00:00"
action:
- service: climate.set_temperature
entity_id: climate.thermostat_heating_1_9_1
data:
temperature: 67
- alias: Full heat at 7am
trigger:
- platform: time
after: "7:00:00"
action:
- service: climate.set_temperature
entity_id: climate.thermostat_heating_1_9_1
data:
temperature: 70
- alias: Turn down heat at 11pm
trigger:
- platform: time
after: "23:00:00"
action:
- service: climate.set_temperature
entity_id: climate.thermostat_heating_1_9_1
data:
temperature: 63