Fix some whitespace issues

This commit is contained in:
2023-07-01 14:06:25 -04:00
parent c0110ae243
commit 1c51c678e5

View File

@ -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 %}