From 1c51c678e5e9a9b5fe7ce2d988db20609361fb1b Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sat, 1 Jul 2023 14:06:25 -0400 Subject: [PATCH] Fix some whitespace issues --- custom_templates/lighting.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_templates/lighting.jinja b/custom_templates/lighting.jinja index d570779..d915932 100644 --- a/custom_templates/lighting.jinja +++ b/custom_templates/lighting.jinja @@ -6,7 +6,7 @@ {% macro lightsOn(type,method) %} {% set lights = states('sensor.current_lights_on') %} {% if method == 'tts' %} -'Around the house, there {% if lights == '1' %}is{% else %}are{% endif %}currently{{ lights }} {% if lights == '1' %}light {% else %}lights {% endif %} on. ' +Around the house, there {% if lights == '1' %}is {% else %}are {% endif %}currently {{ lights }} {% if lights == '1' %}light {% else %}lights {% endif %}on. {% elif method == 'text' %} There {% if lights == '1' %}is {% else %}are {% endif %}currently {{ lights }} {% if lights == '1' %}light {% else %}lights {% endif %}on. {% endif %}