meteo_france integration uses the meteorological data from Météo-France to provide weather forecast for any location in the world with a focus on France. One or more locations can be set via the front end or via the configuration file.
The integration support the following platforms within Home Assistant:
It displays the current weather along with a 5 days forecast and create sensors, including weather alerts and 1 hour rain forecast when available.
There are two ways to integrate Météo-France in Home Assistant.
Menu: Configuration -> Integrations click the button with
+ sign and from the list of integrations select Météo-France
Enter your city or French postal code in the form. If more than one city correspond to your search in the Météo-France’s database you will have the possibility to select one in a dropdown list. Click submit, you are done!
With this way of configuration you can’t select a specific cities if more than one location is found in the Météo-France database corresponding to your inputs. The integration will take the first one returned by the API.
To add Météo-France to your installation, add the following to your
# Example configuration.yaml entry for 2 cities meteo_france: - city: '76000' - city: 'Auch'
To be used with the weather Lovelace card to access current condition, today and next four days forecast.
The weather platform can be configured in the frontend to decide if the forecast is given daily (default) or hourly. To change the setting go in Configuration -> Integrations, click on the city name in Météo-France box and click on Options. You can update the
Forecast mode by choosing between
All the following sensors will be created :
|Entity||Description||Enabled by default|
||The current cloud cover in %||Yes|
||The daily original weather condition||No|
||Probability of temperature below 0°C in the following hours||Yes|
||Datetime of the next rain if expected within the next hour (see note below)||Yes|
||The current original weather condition||No|
||Precipitation cumulation for next 24 hours in mm||Yes|
||The current pressure in hPa||No|
||Probability of rain in the following hours||Yes|
||Probability of snow for the following hours||Yes|
||The current temperature in °C||No|
||The current UV index||Yes|
||Weather alert status (see note below)||Yes|
||The current wind gust speed in km/h||No|
||The current wind speed in km/h||No|
Warning: The probability entities data are not always provided by the API. They are added only if available.
To enable an entity disabled by default, go in Configuration -> Integrations, click on the city name in Météo-France and then the X entities link. You will have the list of the enabled entities. Here click the filter button and select Show disable entities. The disabled entities will be visible in the list, select the one you want to enable and click the Enable Selected button.
The 1 hour rain forecast is supported for more than 75 % of metropolitan France.
The attributes allow to have a forecast of the rain type by 5 to 10 minutes intervals:
forecast_time_refgive a timestamp in ISO format UTC, corresponding to the start of the forecast.
1_hour_forecastis a dictionary to access the type of rain for the next hour for each periods.
“Type of rain” values are given by Météo-France API. Values already noted are:
forecast_time_ref: '2020-08-20T19:25:00+00:00' 1_hour_forecast: 0 min: Temps sec 5 min: Temps sec 10 min: Temps sec 15 min: Temps sec 20 min: Temps sec 25 min: Pluie faible 35 min: Pluie faible 45 min: Pluie modérée 55 min: Pluie modérée
weather_alert sensor state give the current weather alert status for the department linked to the city. Only one entity by department is created.
The sensor attributes give access to each type of alerts raised by Météo-France.