Guest User

Home Assistant Facebox Specific Face Detected

a guest
Sep 10th, 2020
60
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - id: 'Detect_Roberts_Face'
  2.   alias: Detect Robert's Face
  3.   description: ''
  4.   trigger:
  5.   - event_data:
  6.       name: Robert Holstein
  7.     event_type: image_processing.detect_face
  8.     platform: event
  9.   condition: []
  10.   action:
  11.   - data_template:
  12.       message: Robert recognized with probability {{ trigger.event.data.confidence
  13.         }} percent
  14.       target:
  15.      - '{YOUR DISCORD CHANNEL ID}'
  16.       data:
  17.         images:
  18.        - /surveillance/front_door/front_door.jpg
  19.     service: notify.discord
RAW Paste Data