I deleted the gz file and inserted the breaks where you indicated. Refreshed, reloaded, tried a private window… still no UV or fire. Tried Firefox, Chrome and the Beta App (I did reset frontend cache).
hahahaha… well probably not explicitely but the instructions for the card (in the up-front info.md you see when you install in HACS) say it… and the readme in the repo…
(The testing in this thread was really only about getting the ftp component working. Guess I assumed you’d see the info.md in hacs)
bom_uv_alert_summary:
value_template: >
{%- if states('sensor.bom_gosford_uv_alert_0') != 'n/a' -%}
{% set val = states('sensor.bom_gosford_uv_alert_0').split('[')[1].split(']')[0]%}
{{ val | title }}
{%- else -%}
{% set val = states('sensor.bom_gosford_uv_alert_1').split('[')[1].split(']')[0]%}
{%- endif -%}
EDIT: Actually yours is better… I’ll amend github template and info/readme… I’ll have to do another release though so people see new docs. Doh!
I don’t understand??? I think it’s fixed in HACS info.md and I fixed the weather package as well as the readme.md and just did a new release…
I’d be grateful if in the card repo you check info.md and readme.md and in the FTP component check the weather.yaml… Thanks Tom. I’m not using the slots so I didn’t notice… (well not after the day changed)
bom_uv_alert_summary:
value_template: >
{%- if states('sensor.bom_hobart_uv_alert_0') != 'n/a' -%}
{% set val = states('sensor.bom_hobart_uv_alert_0').split('[')[1].split(']')[0] %}
{%- else -%}
{% set val = states('sensor.bom_hobart_uv_alert_1').split('[')[1].split(']')[0] %}
{%- endif -%}
{{ val | title }}