From 0dc7d0f8e428ae6a17a95e4de2eb3e50d72125af Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 21 May 2025 20:45:59 -0400 Subject: [PATCH] Fix Weather.com attributes in template weather stations --- packages/custom_weather.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/custom_weather.yaml b/packages/custom_weather.yaml index 353573b..85fb47a 100644 --- a/packages/custom_weather.yaml +++ b/packages/custom_weather.yaml @@ -64,7 +64,7 @@ weather: forecast_hourly_template: > {% set forecasts = [ states.sensor.weatherflow_hourly_weather_forecast.attributes, - states.sensor.weather_com_hourly_weather_forecast, + states.sensor.weather_com_hourly_weather_forecast.attributes, states.sensor.pirateweather_hourly_weather_forecast.attributes ] %} {{ forecasts | selectattr('forecast','defined') | map(attribute='forecast') | list | first }} @@ -169,7 +169,7 @@ weather: forecast_hourly_template: > {% set forecasts = [ states.sensor.weatherflow_hourly_weather_forecast.attributes, - states.sensor.weather_com_hourly_weather_forecast, + states.sensor.weather_com_hourly_weather_forecast.attributes, states.weather.tomorrow_io_stratton_ave_hourly.attributes, states.sensor.pirateweather_hourly_weather_forecast.attributes ] %}