Skip to content

Commit

Permalink
rectif inversion gel neige
Browse files Browse the repository at this point in the history
  • Loading branch information
Axellum committed Apr 10, 2023
1 parent 74143dc commit 8b8573d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions template_sensors/meteo_nextion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1523,31 +1523,31 @@
state: >-
{% set alert = states('sensor.saint_vincent_de_tyrosse_freeze_chance') | float %}
{%- if alert < 5 -%}
87
91
{% elif alert < 50 %}
88
92
{% elif alert < 90 %}
89
93
{% elif alert < 101 %}
89
94
{% else %}
99
95
{%- endif -%}

- name: alerte_neige
state: >-
{% set alert = states('sensor.saint_vincent_de_tyrosse_snow_chance') | float %}
{%- if alert < 5 -%}
91
87
{% elif alert < 50 %}
92
88
{% elif alert < 90 %}
93
89
{% elif alert < 101 %}
94
90
{% else %}
99
95
{%- endif -%}

Expand Down

0 comments on commit 8b8573d

Please sign in to comment.