-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautomations.yaml
42 lines (42 loc) · 1.3 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
#NSPanel - Ativar Sonoff TH16 quando apertar botão fisico01 do NSPANEL
- id: '1668776456872'
alias: Painel Lavanderia ON - Boiler ON - Botao01
description: Liga o Boiler quando o Botao01 do Painel Lavanderia estiver ON
trigger:
- platform: device
type: turned_on
device_id: baccacc85a66d5af32fc8b64503006d2
entity_id: switch.sonoff_100148a778_1
domain: switch
condition:
- condition: state
entity_id: switch.sonoff_100139239d
state: 'off'
action:
- type: turn_on
device_id: aa49d09743160c36435f7becfce78bd6
entity_id: switch.sonoff_100139239d
domain: switch
mode: single
#NSPanel - Desativar Sonoff TH16 quando apertar botão fisico01 do NSPANEL
- id: '1668776592727'
alias: Painel Lavanderia OFF Boiler OFF - Botao01
description: 'Desliga o Boiler quando o Botao01 do Painel Lavanderia estiver OFF'
trigger:
- platform: device
type: turned_off
device_id: baccacc85a66d5af32fc8b64503006d2
entity_id: switch.sonoff_100148a778_1
domain: switch
condition:
- condition: device
type: is_on
device_id: aa49d09743160c36435f7becfce78bd6
entity_id: switch.sonoff_100139239d
domain: switch
action:
- type: turn_off
device_id: aa49d09743160c36435f7becfce78bd6
entity_id: switch.sonoff_100139239d
domain: switch
mode: single