Skip to content

Commit

Permalink
fix sensor.facebox_detection
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Jul 22, 2018
1 parent a0625d7 commit 29fdb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
sensors:
facebox_detection:
friendly_name: 'Erkanntes Gesicht'
value_template: '{% if states.image_processing.facebox.attributes.faces | length > 0 %}{{ states.image_processing.facebox.attributes.faces[0]["name"].title}}{% else %}Kein Gesicht{% endif %}'
value_template: '{% if states.image_processing.facebox.attributes.faces | length > 0 %}{{ states.image_processing.facebox.attributes.faces[0]["name"]}}{% else %}Kein Gesicht{% endif %}'
#################################################################
## Power Usage
#################################################################
Expand Down

0 comments on commit 29fdb9c

Please sign in to comment.