Update requirements and tests to match 2024.11.1

This commit is contained in:
Jules 2024-11-09 15:04:35 +01:00
parent 89db47f653
commit bd22b62eef
Signed by: jdejaegh
GPG key ID: 99D6D184CA66933A
3 changed files with 8 additions and 7 deletions

View file

@ -1,6 +1,6 @@
aiohttp==3.10.8 aiohttp==3.10.10
async-timeout==4.0.3 async-timeout==4.0.3
homeassistant==2024.10.4 homeassistant==2024.11.1
voluptuous==0.15.2 voluptuous==0.15.2
svgwrite==1.4.3 svgwrite==1.4.3
aiofile==3.9.0 aiofile==3.9.0

View file

@ -1,5 +1,5 @@
homeassistant==2024.10.4 homeassistant==2024.11.1
pytest_homeassistant_custom_component==0.13.175 pytest_homeassistant_custom_component==0.13.182
pytest pytest
freezegun freezegun
isort isort

View file

@ -5,6 +5,7 @@ from unittest.mock import AsyncMock
from freezegun import freeze_time from freezegun import freeze_time
from homeassistant.components.weather import Forecast from homeassistant.components.weather import Forecast
from homeassistant.config_entries import ConfigEntryState
from homeassistant.core import HomeAssistant from homeassistant.core import HomeAssistant
from pytest_homeassistant_custom_component.common import MockConfigEntry from pytest_homeassistant_custom_component.common import MockConfigEntry
@ -28,7 +29,7 @@ async def test_weather_nl(
hass.config.config_dir = os.getcwd() hass.config.config_dir = os.getcwd()
coordinator = IrmKmiCoordinator(hass, mock_config_entry) coordinator = IrmKmiCoordinator(hass, mock_config_entry)
await coordinator.async_config_entry_first_refresh() await coordinator.async_refresh()
weather = IrmKmiWeather(coordinator, mock_config_entry) weather = IrmKmiWeather(coordinator, mock_config_entry)
result = await weather.async_forecast_daily() result = await weather.async_forecast_daily()
@ -56,7 +57,7 @@ async def test_weather_higher_temp_at_night(
hass.config.config_dir = os.getcwd() hass.config.config_dir = os.getcwd()
coordinator = IrmKmiCoordinator(hass, mock_config_entry) coordinator = IrmKmiCoordinator(hass, mock_config_entry)
await coordinator.async_config_entry_first_refresh() await coordinator.async_refresh()
weather = IrmKmiWeather(coordinator, mock_config_entry) weather = IrmKmiWeather(coordinator, mock_config_entry)
result: List[Forecast] = await weather.async_forecast_daily() result: List[Forecast] = await weather.async_forecast_daily()
@ -86,7 +87,7 @@ async def test_forecast_attribute_same_as_service_call(
hass.config.config_dir = os.getcwd() hass.config.config_dir = os.getcwd()
coordinator = IrmKmiCoordinator(hass, mock_config_entry_with_deprecated) coordinator = IrmKmiCoordinator(hass, mock_config_entry_with_deprecated)
await coordinator.async_config_entry_first_refresh() await coordinator.async_refresh()
weather = IrmKmiWeather(coordinator, mock_config_entry_with_deprecated) weather = IrmKmiWeather(coordinator, mock_config_entry_with_deprecated)