mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 20:16:52 +00:00
Update[1~Fixed Large Garage door. updated the MQTT sensors.
This commit is contained in:
28
config/automation/home_flash.yaml
Executable file
28
config/automation/home_flash.yaml
Executable file
@@ -0,0 +1,28 @@
|
||||
- alias: 'Home Flash'
|
||||
id: home-flash
|
||||
mode: restart
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- person.carlo
|
||||
- person.stacey
|
||||
- person.paige
|
||||
- person.justin
|
||||
from: 'not_home'
|
||||
to: 'home'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
state: 'below_horizon'
|
||||
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id: light.outdoor_front_lights
|
||||
data:
|
||||
flash: long
|
||||
- delay: '00:00:40'
|
||||
- service: light.turn_on
|
||||
entity_id: light.outdoor_front_lights
|
||||
data:
|
||||
flash: long
|
Reference in New Issue
Block a user