From c065cb48f24870b64ead913276c9ef79200c8bd9 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Wed, 3 Feb 2021 06:56:14 -0600 Subject: [PATCH] fix notification examples --- docs/docs/usage/home-assistant.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/usage/home-assistant.md b/docs/docs/usage/home-assistant.md index ae6a1555d..c57f83fe9 100644 --- a/docs/docs/usage/home-assistant.md +++ b/docs/docs/usage/home-assistant.md @@ -52,7 +52,7 @@ automation: trigger: platform: mqtt topic: frigate/events - conditions: + condition: - "{{ trigger.payload_json['after']['label'] == 'person' }}" - "{{ 'yard' in trigger.payload_json['after']['entered_zones'] }}" action: @@ -69,7 +69,7 @@ automation: trigger: platform: mqtt topic: frigate/events - conditions: + condition: - "{{ trigger.payload_json['after']['label'] == 'person' }}" - "{{ 'yard' in trigger.payload_json['before']['current_zones'] }}" - "{{ not 'yard' in trigger.payload_json['after']['current_zones'] }}" @@ -87,7 +87,7 @@ automation: trigger: platform: mqtt topic: frigate/events - conditions: + condition: - "{{ trigger.payload_json['after']['label'] == 'dog' }}" - "{{ trigger.payload_json['after']['camera'] == 'front' }}" - "{{ trigger.payload_json['after']['top_score'] > 0.98 }}"