Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

Commit

Permalink
fix template error
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidFW1960 committed Nov 24, 2019
1 parent 421e0d1 commit 7e1eb51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weather.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ sensor:
{%- elif states('sensor.bom_gosford_uv_alert_1') == '##' -%}
{% set val = 'No Data' %}
{%- elif states('sensor.bom_gosford_uv_alert_1') != 'n/a' -%}
{% set val = states('sensor.bom_uv_alert_1').split('[')[1].split(']')[0] %}
{% set val = states('sensor.bom_gosford_uv_alert_1').split('[')[1].split(']')[0] %}
{%- else -%}
{%- set val = 'No Data' -%}
{%- endif -%}
Expand Down

0 comments on commit 7e1eb51

Please sign in to comment.