-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomations.yaml
126 lines (126 loc) · 2.93 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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
- id: 41171191b1914c5dacdbfbaeef735399
alias: Proxmox
trigger:
- at: '10:00:00'
platform: time
condition:
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'off'
action:
- data:
entity_id: switch.proxmox
service: switch.turn_on
- id: d836acb077534690a54dac068df49e59
alias: Proxmox2
trigger:
- at: '11:30:00'
platform: time
condition:
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- data:
entity_id: switch.proxmox
service: switch.turn_on
- alias: light-extinction
trigger:
- at: 00:00:00
platform: time
condition:
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
entity_id: group.all_lights
service: light.turn_off
id: fa5b0bd8571244918acc5c01367fde21
- id: '1559917285401'
alias: Switch-fast
trigger:
- entity_id: binary_sensor.zigate_00158d0003269795_onoff
from: 'on'
platform: state
to: 'off'
- entity_id: binary_sensor.zigate_00158d00032697b3_onoff
from: 'on'
platform: state
to: 'off'
condition: []
action:
- data:
brightness_pct: '60'
entity_id: ' light.zigate_001788010472d63c_11'
service: light.toggle
- data:
entity_id: switch.zigate_7cb03eaa0a06c8e9_3
service: switch.toggle
- id: '1560635907569'
alias: Toggle-light-brightness
trigger:
- entity_id: sensor.zigate_00158d0003269795_multiclick
from: '0'
platform: state
to: '2'
- entity_id: sensor.zigate_00158d00032697b3_multiclick
from: '0'
platform: state
to: '2'
condition: []
action:
- data_template:
brightness_pct: "{% if states.light.zigate_001788010472d63c_11.attributes[brightness_pct]\
\ > 40 %}\n 35\n{% else %}\n 60\n{% endif %}\n"
entity_id: light.zigate_001788010472d63c_11
service: light.turn_on
- id: '1563774897174'
alias: TurnOn-Fixe-semaine
trigger:
- at: 07:55:00
platform: time
condition:
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- data:
entity_id: switch.zigate_7cb03eaa0a0696f9_3
service: switch.turn_on
- id: '1579861408622'
alias: TurnOff-Pc-Fixe-Semaine
description: ''
trigger:
- at: 00:15
platform: time
condition:
- condition: state
entity_id: binary_sensor.ping_fixe
state: 'off'
- condition: state
entity_id: binary_sensor.workday_sensor
state: 'on'
action:
- entity_id: switch.zigate_7cb03eaa0a0696f9_3
service: switch.turn_off
- id: '1579881913060'
alias: VM-Down
description: ''
trigger:
- entity_id:
- switch.gitea
- switch.nextcloud
- switch.haproxy
- switch.emby
- switch.sharing
- switch.pihole
from: 'on'
platform: state
to: 'off'
condition: []
action:
- alias: ''
data:
data_template:
message: '{{ trigger.to_state_attributes.friendly_name }} est mort subitement'
service: notify.mobile_app_motog7