mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 09:58:17 +00:00
Created #74 and added more Alert Mode logic.
This commit is contained in:
@@ -17,17 +17,14 @@ front_house_motion:
|
||||
state: 'below_horizon'
|
||||
|
||||
- service: input_boolean.turn_on
|
||||
data:
|
||||
entity_id: input_boolean.alert_mode
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.Voice_notify
|
||||
data:
|
||||
value1: 'Motion has been detected by the front door.'
|
||||
- service: input_boolean.turn_off
|
||||
data:
|
||||
entity_id: input_boolean.alert_mode
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.front_full_brightness
|
||||
- delay: '00:{{ (range(5, 20)|random|int) }}:00'
|
||||
- delay: '00:{{ (range(5, 20)|random|int) }}:00'
|
||||
- service: light.turn_off
|
||||
entity_id: group.outdoor_front_lights
|
||||
- delay: '00:00:10'
|
||||
|
||||
Reference in New Issue
Block a user