Temperature forecast

Hello,

I’m trying to create an automation that closes the shutters when the temperature forecast of the day is too high to keep my house fresh.

I wanted to use the temperature_high from darksky, but it won’t be available by the end of 2021.
Is there another way to obtain the max forecast temperature of the day ?

Thanks.

That would depend on which country you live in.

There are many weather integrations, some better than others: https://www.home-assistant.io/integrations#weather

Thanks for your answer.

I Live in France, but unless I missed something, none of them has sensor with the forecast max temperature of the day.

That is why I was asking my Question.

Thanks.

This one does: https://www.home-assistant.io/integrations/yr/#forecast

Thank you.
How would you do that ?
I well understand how to get the temperature at a fixed number of hours in the futur, but how to get the maximum temperature forecast in the next 24h ? or in the current day ?

Thanks.

Hang on, this: Météo-France - Home Assistant

Is supposed to give you:

the current weather along with a 4 days forecast

Thank you,
it gives me the forecast for 4 days, but this appears in a Weather card, not in a sensor, and the temperature displayed is at noon.

If you want to report the highest temperature from a weather forecast, you can use a Template Sensor. petro created a template to do that for the OpenWeatherMap integration and I believe it would be easy to adapt for Météo-France.

Thank you.
In fact, Météo-France is providing the forecasted temperature from d+1 to d+5 .It’s not as precise as openWeatherMap so i don’t need to use the Max function:

{{ state_attr('weather.myCity', 'forecast') | map(attribute='temperature') | first }}

The bad side is that I can’t have today’s forecast. I will need to store the data of the day before.

But thanks, it has been helpful, I now know how to retrieve data from a weather forecast.

1 Like