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 ?
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 ?
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.