From 29fdb9cf6760f36fc7bba2259d6e65a7bc92e7bc Mon Sep 17 00:00:00 2001 From: Kevin Eifinger Date: Sun, 22 Jul 2018 17:24:57 +0200 Subject: [PATCH] fix sensor.facebox_detection --- sensor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensor.yaml b/sensor.yaml index 87745484..fb200f22 100644 --- a/sensor.yaml +++ b/sensor.yaml @@ -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 #################################################################