initial commit
This commit is contained in:
34
configuration/automation/alert_garage_cover_moving.yaml
Normal file
34
configuration/automation/alert_garage_cover_moving.yaml
Normal file
@ -0,0 +1,34 @@
|
||||
---
|
||||
- id: garage_alert_on_on_door_is_moving
|
||||
alias: '[Garage] Alert ON on Cover Moves'
|
||||
initial_state: 'true'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: cover.garage_gate
|
||||
to: 'opening'
|
||||
- platform: state
|
||||
entity_id: cover.garage_gate
|
||||
to: 'closing'
|
||||
action:
|
||||
- service: lifx.effect_pulse
|
||||
data:
|
||||
entity_id: light.garage_gate_01
|
||||
brightness: 255
|
||||
rgb_color: [255, 0, 0]
|
||||
mode: strobe
|
||||
cycles: 150
|
||||
|
||||
- id: garage_alert_off_on_door_is_stopped
|
||||
alias: '[Garage] Alert OFF on Cover Stopes'
|
||||
initial_state: 'true'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: cover.garage_gate
|
||||
to: 'open'
|
||||
- platform: state
|
||||
entity_id: cover.garage_gate
|
||||
to: 'closed'
|
||||
action:
|
||||
- service: lifx.effect_stop
|
||||
data:
|
||||
entity_id: light.garage_gate_01
|
Reference in New Issue
Block a user