diff --git a/source/_integrations/meteo_france.markdown b/source/_integrations/meteo_france.markdown index a9a491f4c4c..63b6d67d4d0 100644 --- a/source/_integrations/meteo_france.markdown +++ b/source/_integrations/meteo_france.markdown @@ -5,24 +5,35 @@ logo: meteo-france.png ha_release: 0.89 ha_iot_class: Cloud Polling ha_category: - - Hub - Sensor - Weather ha_codeowners: - '@victorcerutti' - '@oncleben31' + - '@Quentame' +ha_config_flow: true --- The `meteo_france` integration uses the [Météo-France](http://www.meteofrance.com/) web service as a source for meteorological data for your location. The location is based on the `city` configured in your `configuration.yaml` file. -There is currently support for the following device types within Home Assistant: +There is currently support for the following platforms within Home Assistant: -- Sensor +- [Sensor](#sensor) - Weather -It displays the current weather along with a 4 days forecast and can create sensors based on the `monitored_conditions` set in your `configuration.yaml` file, including weather alerts from [Vigilance Météo-France](https://vigilance.meteofrance.com/) +It displays the current weather along with a 4 days forecast and create sensors, including weather alerts from [Vigilance Météo-France](https://vigilance.meteofrance.com/) -## Configuration +## Setup the integration + +There are two ways to integrate Météo-France in Home Assistant. + +### Via the frontend + +Menu: *Configuration* -> *Integrations* + +Search for "Météo-France", add your city, click submit, you are done! + +### Via the configuration file To add Météo-France to your installation, add the following to your `configuration.yaml` file: @@ -34,34 +45,9 @@ meteo_france: {% configuration %} city: - description: Name of the city ([see below](#about-city-configuration)). + description: French postal code or name of the city ([see below](#about-city-configuration)). required: true type: string - monitored_conditions: - description: The conditions types to monitor. - required: true - type: list - keys: - temperature: - description: The current temperature. - weather: - description: A human-readable text summary of the current conditions. - wind_speed: - description: The wind speed. - uv: - description: The current UV index. - next_rain: - description: Time to the next rain if happening for the next hour ([see note below](#about-next_rain-condition-sensor)). - freeze_chance: - description: Probability of temperature below 0°C for the day. - rain_chance: - description: Probability of rain for the day. - snow_chance: - description: Probability of snow for the day. - thunder_chance: - description: Probability of thunderstorm for the day. - weather_alert: - description: Weather alert status. {% endconfiguration %} ### About `city` configuration @@ -81,6 +67,20 @@ meteo_france: - city: 'montreal,amerique' ``` +## Sensor + +All these sensors will be created : +- `temperature`: The current temperature. +- `weather`: A human-readable text summary of the current conditions. +- `wind_speed`: The wind speed. +- `uv`: The current UV index. +- `next_rain`: Time to the next rain if happening for the next hour ([see note below](#about-next_rain-condition-sensor)). +- `freeze_chance`: Probability of temperature below 0°C for the day. +- `rain_chance`: Probability of rain for the day. +- `snow_chance`: Probability of snow for the day. +- `thunder_chance`: Probability of thunderstorm for the day. +- `weather_alert`: Weather alert status ([see note below](#about-weather_alert-sensor)). + ### About `next_rain` condition sensor