Need help with an automation, I got dlib to work, but don’t know how to create a working automation to it. This is one of my not working automatons.
alias: Kameran ser vem 2
description: ''
trigger:
- platform: template
value_template: '{{state_attr(image_processing.face_identify), ''faces''}}'
condition:
- condition: template
value_template: '[{"name": "Jorgen","entity_id": "image_processing.face_identify"}]'
action:
- service: notify.mobile_app_sm_g950f
data:
message: kameran ser Jorgen
title: face
mode: single