Attempting to fix the readout for overnight low temperatures

This commit is contained in:
2022-03-31 12:57:15 -04:00
parent 53d1b26ca2
commit 6d67a088ed

View File

@ -98,7 +98,7 @@ sensor:
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %}
{{ forecast.temperature }}
overnight_low: >-
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %}
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %}
{{ forecast.templow }}
wind_bearing: >-
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %}
@ -241,7 +241,7 @@ sensor:
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %}
{{ forecast.temperature }}
overnight_low: >-
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[2] %}
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %}
{{ forecast.templow }}
wind_bearing: >-
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %}