mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-20 20:56:44 +00:00
This is the current config. Moved old to the v1-config branch
This commit is contained in:
17
scripts/security_check_zones.yaml
Normal file
17
scripts/security_check_zones.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
security_check_zones:
|
||||
sequence:
|
||||
- event: LOGBOOK_ENTRY
|
||||
event_data:
|
||||
name: EVENT
|
||||
message: "SECURITY: Performing Security check - Zones"
|
||||
- condition: state
|
||||
entity_id: group.doors
|
||||
state: "Open"
|
||||
- delay:
|
||||
seconds: 20
|
||||
- service: input_boolean.turn_off
|
||||
data:
|
||||
entity_id: input_boolean.secure_mode
|
||||
- service: input_boolean.turn_on
|
||||
data:
|
||||
entity_id: input_boolean.security_issue
|
Reference in New Issue
Block a user