diff --git a/homeassistant/components/meteo_france/__init__.py b/homeassistant/components/meteo_france/__init__.py index 152999b5574..3034135f847 100644 --- a/homeassistant/components/meteo_france/__init__.py +++ b/homeassistant/components/meteo_france/__init__.py @@ -3,8 +3,8 @@ import asyncio from datetime import timedelta import logging -from meteofrance.client import MeteoFranceClient -from meteofrance.helpers import is_valid_warning_department +from meteofrance_api.client import MeteoFranceClient +from meteofrance_api.helpers import is_valid_warning_department import voluptuous as vol from homeassistant.config_entries import SOURCE_IMPORT, ConfigEntry diff --git a/homeassistant/components/meteo_france/config_flow.py b/homeassistant/components/meteo_france/config_flow.py index 4593a392ee3..f4d7c5dccfa 100644 --- a/homeassistant/components/meteo_france/config_flow.py +++ b/homeassistant/components/meteo_france/config_flow.py @@ -1,7 +1,7 @@ """Config flow to configure the Meteo-France integration.""" import logging -from meteofrance.client import MeteoFranceClient +from meteofrance_api.client import MeteoFranceClient import voluptuous as vol from homeassistant import config_entries diff --git a/homeassistant/components/meteo_france/manifest.json b/homeassistant/components/meteo_france/manifest.json index 97c9b589c48..8de4e76c6f6 100644 --- a/homeassistant/components/meteo_france/manifest.json +++ b/homeassistant/components/meteo_france/manifest.json @@ -4,7 +4,7 @@ "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/meteo_france", "requirements": [ - "meteofrance-api==0.1.1" + "meteofrance-api==1.0.1" ], "codeowners": [ "@hacf-fr", diff --git a/homeassistant/components/meteo_france/sensor.py b/homeassistant/components/meteo_france/sensor.py index 00f3c2da2cb..8e6b036202f 100644 --- a/homeassistant/components/meteo_france/sensor.py +++ b/homeassistant/components/meteo_france/sensor.py @@ -1,7 +1,7 @@ """Support for Meteo-France raining forecast sensor.""" import logging -from meteofrance.helpers import ( +from meteofrance_api.helpers import ( get_warning_text_status_from_indice_color, readeable_phenomenoms_dict, ) diff --git a/requirements_all.txt b/requirements_all.txt index dac983b1acd..daf44d50e03 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -934,7 +934,7 @@ messagebird==1.2.0 meteoalertapi==0.1.6 # homeassistant.components.meteo_france -meteofrance-api==0.1.1 +meteofrance-api==1.0.1 # homeassistant.components.mfi mficlient==0.3.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index bf0074d3191..adb344ac47d 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -462,7 +462,7 @@ mbddns==0.1.2 mcstatus==2.3.0 # homeassistant.components.meteo_france -meteofrance-api==0.1.1 +meteofrance-api==1.0.1 # homeassistant.components.mfi mficlient==0.3.0 diff --git a/tests/components/meteo_france/test_config_flow.py b/tests/components/meteo_france/test_config_flow.py index 3aa70aa48b3..6c1d9312f91 100644 --- a/tests/components/meteo_france/test_config_flow.py +++ b/tests/components/meteo_france/test_config_flow.py @@ -1,5 +1,5 @@ """Tests for the Meteo-France config flow.""" -from meteofrance.model import Place +from meteofrance_api.model import Place import pytest from homeassistant import data_entry_flow