From: Giorgio Ravera Date: Sun, 24 Feb 2019 22:03:47 +0000 (+0100) Subject: fix var check in notify_text_internal X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=9852ea3beeae32631c5f2abb900a10d2a792721d;p=homeassistant.git fix var check in notify_text_internal --- diff --git a/script/notify.yaml b/script/notify.yaml index 4d0a932f..db996bfd 100644 --- a/script/notify.yaml +++ b/script/notify.yaml @@ -26,7 +26,7 @@ notify_text_internal: - condition: template value_template: > - {% if enable_persistent | length != 0 %} + {% if enable_persistent is defined %} {% if enable_persistent | int == 1 %} true {% else %}