From 124b9d87d5eb5ac35b96ca539246b125e327f3b8 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Thu, 6 Apr 2023 00:14:10 +0200 Subject: [PATCH] Remove `+` from positive temperatures (#624) --- nspanel_blueprint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index 89cef98..574973d 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -4962,7 +4962,7 @@ action: temperature_string: > {{ (temp_min | round(0) ~ weather_units.temperature) if is_number(temp_min) }} {{ '/' if is_number(temp_min) and is_number(temp_max) }} - {{ (('+' if temp_min | float(1) <= 0 and temp_max | float(-1) > 0) ~ temp_max | round(0) ~ weather_units.temperature) if is_number(temp_max) }} + {{ (temp_max | round(0) ~ weather_units.temperature) if is_number(temp_max) }} - if: "{{ (is_number(temp_min) or is_number(temp_max)) and temperature_string is string and temperature_string | length > 0 }}" then: - service: "{{ nextion.commands.text_printf }}"