notifications

This commit is contained in:
CeeWeasel
2024-04-27 11:20:04 -04:00
parent 9abc71df4a
commit 2be72e5764
8 changed files with 25 additions and 10 deletions
@@ -13,6 +13,7 @@ condition:
- "{{ 'driveway' in trigger.payload_json['after']['entered_zones'] }}"
- "{{ 'from_street' in trigger.payload_json['after']['entered_zones'] }}"
- "{{ trigger.payload_json['after']['label'] == 'person' }}"
- "{{ is_state('input_boolean.outdoor_snapshots','on') }}"
action:
@@ -37,6 +37,7 @@ condition:
- '{{ is_state("binary_sensor.outer_garage_door","off") }}'
- '{{ is_state("binary_sensor.front_door_contact","off") }}'
- '{{ is_state("binary_sensor.patio_door_contact","off") }}'
- "{{ is_state('input_boolean.outdoor_snapshots','on') }}"
action:
- choose:
- conditions: "{{ not group_target }}"
@@ -41,6 +41,7 @@ condition:
- "{{ not stationary }}"
- "{{ not zones|length or zones|select('in', entered_zones)|list|length > 0 }}"
- "{{ not labels|length or object in labels }}"
- "{{ is_state('input_boolean.outdoor_snapshots','on') }}"
#- "{{ not presence_entity or not is_state(presence_entity, 'home') }}"
#- "{{ not garage_door or not is_state(garage_door, 'on') }}"
@@ -39,6 +39,7 @@ condition:
- '{{ is_state("binary_sensor.patio_door_contact","off") }}'
- '{{ is_state("binary_sensor.front_porch_motion","off") }}'
- '{{ is_state("binary_sensor.garage_motion_switch_home_security_motion_detection","off") }}'
- "{{ is_state('input_boolean.outdoor_snapshots','on') }}"
action:
- choose:
- conditions: "{{ not group_target }}"
@@ -45,6 +45,7 @@ condition:
- "{{ not stationary }}"
- "{{ not zones|length or zones|select('in', entered_zones)|list|length > 0 }}"
- "{{ not labels|length or object in labels }}"
- "{{ is_state('input_boolean.outdoor_snapshots','on') }}"
#- "{{ not presence_entity or not is_state(presence_entity, 'home') }}"
#- "{{ not garage_door or not is_state(garage_door, 'on') }}"