File tree Expand file tree Collapse file tree 12 files changed +37
-37
lines changed Expand file tree Collapse file tree 12 files changed +37
-37
lines changed Original file line number Diff line number Diff line change 10
10
# - from github.com/basnijholt/home-assistant-config
11
11
- alias : " Adaptive lighting: turn on and off switches"
12
12
triggers :
13
- - platform : state
13
+ - trigger : state
14
14
entity_id : input_select.sleep_mode
15
15
- platform : homeassistant
16
16
event : start # in case the states aren't properly restored
Original file line number Diff line number Diff line change 140
140
triggers :
141
141
- platform : time_pattern
142
142
minutes : " /10"
143
- - platform : state
143
+ - trigger : state
144
144
entity_id : binary_sensor.activity_in_guest_room
145
145
to : " off"
146
146
conditions :
Original file line number Diff line number Diff line change 32
32
33
33
- alias : " Frontend: change theme"
34
34
triggers :
35
- - platform : state
35
+ - trigger : state
36
36
entity_id : input_select.theme
37
- - platform : state
37
+ - trigger : state
38
38
entity_id : input_boolean.dark_mode
39
- - platform : state
39
+ - trigger : state
40
40
entity_id : input_boolean.theme_alternative
41
41
- platform : homeassistant
42
42
event : start
Original file line number Diff line number Diff line change 12
12
- alias : " Leaving: automatically turn off everything"
13
13
initial_state : " on"
14
14
triggers :
15
- - platform : state
15
+ - trigger : state
16
16
entity_id : binary_sensor.someone_in_the_house_in_last_hour
17
17
from : " on"
18
18
to : " off"
40
40
- alias : " Leaving: ask to turn off everything"
41
41
initial_state : " on"
42
42
triggers :
43
- - platform : state
43
+ - trigger : state
44
44
entity_id : person.bas
45
45
from : " home"
46
- - platform : state
46
+ - trigger : state
47
47
entity_id : person.marcella
48
48
from : " home"
49
49
conditions :
Original file line number Diff line number Diff line change 38
38
39
39
- alias : " Light: turn off living room"
40
40
triggers :
41
- - platform : state
41
+ - trigger : state
42
42
entity_id : binary_sensor.activity_in_living_room
43
43
to : " off"
44
- - platform : state
44
+ - trigger : state
45
45
entity_id : input_select.sleep_mode
46
46
from : total
47
47
conditions :
54
54
55
55
- alias : " Light: turn on Chrismas tree"
56
56
triggers :
57
- - platform : state
57
+ - trigger : state
58
58
entity_id : input_select.sleep_mode
59
59
to :
60
60
- " off"
61
61
- " half"
62
- - platform : state
62
+ - trigger : state
63
63
entity_id : binary_sensor.someone_in_the_house_in_last_hour
64
64
to : " on"
65
65
conditions :
72
72
73
73
- alias : " Light: turn off Chrismas tree"
74
74
triggers :
75
- - platform : state
75
+ - trigger : state
76
76
entity_id : input_select.sleep_mode
77
77
to : " total"
78
- - platform : state
78
+ - trigger : state
79
79
entity_id : binary_sensor.someone_in_the_house_in_last_hour
80
80
to : " off"
81
81
actions :
201
201
- alias : " Light: turn on hall"
202
202
mode : parallel
203
203
triggers :
204
- - platform : state
204
+ - trigger : state
205
205
entity_id : binary_sensor.activity_in_hall
206
206
from : " off"
207
207
to : " on"
208
- - platform : state
208
+ - trigger : state
209
209
entity_id : binary_sensor.openclose_front_door
210
210
from : " off"
211
211
to : " on"
304
304
- alias : " Light: turn off bedroom lights auto switch"
305
305
mode : parallel
306
306
triggers :
307
- - platform : state
307
+ - trigger : state
308
308
entity_id : light.bedroom_lights
309
309
to : " off"
310
310
- platform : event
383
383
384
384
- alias : " Light: turn on utility room / garage outside"
385
385
triggers :
386
- - platform : state
386
+ - trigger : state
387
387
to : " on"
388
388
entity_id : binary_sensor.activity_in_utility_room
389
- - platform : state
389
+ - trigger : state
390
390
to : " on"
391
391
entity_id : binary_sensor.activity_outside_front_door
392
- - platform : state
392
+ - trigger : state
393
393
to : " on"
394
394
entity_id : binary_sensor.activity_outside_garage
395
395
actions :
412
412
413
413
- alias : " Light: turn off utility room / garage outside"
414
414
triggers :
415
- - platform : state
415
+ - trigger : state
416
416
to : " off"
417
417
entity_id : binary_sensor.activity_in_utility_room
418
- - platform : state
418
+ - trigger : state
419
419
to : " off"
420
420
entity_id : binary_sensor.activity_outside_front_door
421
- - platform : state
421
+ - trigger : state
422
422
to : " off"
423
423
entity_id : binary_sensor.activity_outside_garage
424
424
actions :
Original file line number Diff line number Diff line change 13
13
In the UI show the `input_boolean.mailbox_full`. It needs to
14
14
be manually switched off after getting the mail."
15
15
triggers :
16
- - platform : state
16
+ - trigger : state
17
17
entity_id : binary_sensor.mailbox_vibration
18
18
to : " on"
19
19
conditions :
Original file line number Diff line number Diff line change 15
15
aren't playing Spotify (via WiFi) directly, switch the source of the speakers
16
16
to "Opt".
17
17
triggers :
18
- - platform : state
18
+ - trigger : state
19
19
entity_id : media_player.tv
20
- - platform : state
20
+ - trigger : state
21
21
entity_id : media_player.spotify
22
22
to : paused
23
23
conditions :
101
101
mode : single
102
102
max_exceeded : silent
103
103
triggers :
104
- - platform : state
104
+ - trigger : state
105
105
entity_id : media_player.kef_ls50
106
106
attribute : volume_level
107
- - platform : state
107
+ - trigger : state
108
108
entity_id : media_player.tv
109
109
attribute : volume_level
110
110
conditions :
Original file line number Diff line number Diff line change 10
10
# - from github.com/basnijholt/home-assistant-config
11
11
- alias : " Plant: problem with Calathea"
12
12
triggers :
13
- - platform : state
13
+ - trigger : state
14
14
entity_id : plant.calathea
15
15
to : " problem"
16
16
- platform : time
28
28
29
29
- alias : " Plant: problem with Monstera"
30
30
triggers :
31
- - platform : state
31
+ - trigger : state
32
32
entity_id : plant.monstera
33
33
to : " problem"
34
34
- platform : time
46
46
47
47
- alias : " Plant: problem with Peace lily"
48
48
triggers :
49
- - platform : state
49
+ - trigger : state
50
50
entity_id : plant.peace_lily
51
51
to : " problem"
52
52
- platform : time
Original file line number Diff line number Diff line change 73
73
74
74
- alias : " Security: no one is home but high power usage"
75
75
triggers :
76
- - platform : state
76
+ - trigger : state
77
77
entity_id : binary_sensor.no_one_home
78
78
to : " on"
79
79
- platform : time_pattern
148
148
- alias : " Security: Door to outside open"
149
149
description : ' '
150
150
triggers :
151
- - platform : state
151
+ - trigger : state
152
152
entity_id : binary_sensor.door_to_outside_open
153
153
to : ' on'
154
154
for :
Original file line number Diff line number Diff line change 13
13
triggers :
14
14
- platform : time
15
15
at : " 07:00"
16
- - platform : state
16
+ - trigger : state
17
17
entity_id : input_boolean.alarm_clock
18
18
from : " on"
19
19
to : " off"
You can’t perform that action at this time.
0 commit comments