changed gate sensor and switch to Shelly
This commit is contained in:
@@ -39,10 +39,10 @@
|
||||
alias: Garagem - Warn gate Open
|
||||
description: ''
|
||||
trigger:
|
||||
- entity_id: cover.portao_garagem
|
||||
from: closed
|
||||
- entity_id: binary_sensor.portao_garagem_input
|
||||
from: 'on'
|
||||
platform: state
|
||||
to: open
|
||||
to: 'off'
|
||||
condition: []
|
||||
action:
|
||||
- data:
|
||||
@@ -53,10 +53,10 @@
|
||||
alias: Garagem - warn gate closed
|
||||
description: ''
|
||||
trigger:
|
||||
- entity_id: cover.portao_garagem
|
||||
from: open
|
||||
- entity_id: binary_sensor.portao_garagem_input
|
||||
from: 'off'
|
||||
platform: state
|
||||
to: closed
|
||||
to: 'on'
|
||||
condition: []
|
||||
action:
|
||||
- data:
|
||||
@@ -401,9 +401,9 @@
|
||||
description: ''
|
||||
trigger:
|
||||
- entity_id: cover.portao_garagem
|
||||
from: closed
|
||||
from: 'On'
|
||||
platform: state
|
||||
to: open
|
||||
to: 'Off'
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
@@ -419,6 +419,7 @@
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.luz_garagem_2
|
||||
data: {}
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 5
|
||||
@@ -427,6 +428,7 @@
|
||||
- service: light.turn_off
|
||||
target:
|
||||
entity_id: light.luz_garagem_2
|
||||
data: {}
|
||||
- service: notify.buttler
|
||||
data:
|
||||
message: luz desligada
|
||||
|
||||
Reference in New Issue
Block a user