You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1 KiB

######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# Home Flash Automation - Home Assistant automation behavior.
# Defines the Home Flash Automation triggers, conditions, and actions.
# -------------------------------------------------------------------
######################################################################
- 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

Powered by TurnKey Linux.