mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-21 05:03:39 +00:00
This is the current config. Moved old to the v1-config branch
This commit is contained in:
16
scripts/garage_abort_lockdown.yaml
Normal file
16
scripts/garage_abort_lockdown.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
garage_abort_lockdown:
|
||||
sequence:
|
||||
- event: LOGBOOK_ENTRY
|
||||
event_data:
|
||||
name: EVENT
|
||||
message: "SECURITY: Aborting Lockdown - Garage Could Not Close"
|
||||
- condition: state
|
||||
entity_id: input_boolean.secure_mode
|
||||
state: "on"
|
||||
- service: tts.google_say
|
||||
data:
|
||||
entity_id: media_player.hass_speaker
|
||||
message: Garage was unable to close.
|
||||
- service: input_boolean.turn_off
|
||||
data:
|
||||
entity_id: input_boolean.secure_mode
|
Reference in New Issue
Block a user