mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-29 09:15:55 +00:00
Massive Migration! #292
This commit is contained in:
27
automation/Speech/door_opened.yaml
Executable file
27
automation/Speech/door_opened.yaml
Executable file
@@ -0,0 +1,27 @@
|
||||
######################################################################
|
||||
## Garage Status Announcements
|
||||
######################################################################
|
||||
- alias: 'Door Opened'
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.mcu2_gpio5 # back door #
|
||||
- binary_sensor.MCU2_GPIO12 # Main Slider
|
||||
- binary_sensor.MCU1_GPIO12 # Interior Garage Door #
|
||||
to: 'Opened'
|
||||
for:
|
||||
minutes: 2
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
value1: "The {{ trigger.to_state.attributes.friendly_name }} has been {{ (trigger.to_state.state)|replace('_', ' ') }}."
|
||||
|
||||
- service: input_boolean.turn_on
|
||||
entity_id: input_boolean.alert_mode
|
||||
|
||||
- service: script.speech_engine
|
||||
data_template:
|
||||
call_window_check: 1
|
||||
call_inside_weather: 1
|
Reference in New Issue
Block a user