Fix Weather.com attributes in template weather stations
This commit is contained in:
@ -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
|
||||
] %}
|
||||
|
Reference in New Issue
Block a user