mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-27 03:35:56 +02:00
Update requirements and tests to match 2024.11.1
This commit is contained in:
parent
89db47f653
commit
bd22b62eef
3 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
aiohttp==3.10.8
|
||||
aiohttp==3.10.10
|
||||
async-timeout==4.0.3
|
||||
homeassistant==2024.10.4
|
||||
homeassistant==2024.11.1
|
||||
voluptuous==0.15.2
|
||||
svgwrite==1.4.3
|
||||
aiofile==3.9.0
|
|
@ -1,5 +1,5 @@
|
|||
homeassistant==2024.10.4
|
||||
pytest_homeassistant_custom_component==0.13.175
|
||||
homeassistant==2024.11.1
|
||||
pytest_homeassistant_custom_component==0.13.182
|
||||
pytest
|
||||
freezegun
|
||||
isort
|
|
@ -5,6 +5,7 @@ from unittest.mock import AsyncMock
|
|||
|
||||
from freezegun import freeze_time
|
||||
from homeassistant.components.weather import Forecast
|
||||
from homeassistant.config_entries import ConfigEntryState
|
||||
from homeassistant.core import HomeAssistant
|
||||
from pytest_homeassistant_custom_component.common import MockConfigEntry
|
||||
|
||||
|
@ -28,7 +29,7 @@ async def test_weather_nl(
|
|||
hass.config.config_dir = os.getcwd()
|
||||
|
||||
coordinator = IrmKmiCoordinator(hass, mock_config_entry)
|
||||
await coordinator.async_config_entry_first_refresh()
|
||||
await coordinator.async_refresh()
|
||||
|
||||
weather = IrmKmiWeather(coordinator, mock_config_entry)
|
||||
result = await weather.async_forecast_daily()
|
||||
|
@ -56,7 +57,7 @@ async def test_weather_higher_temp_at_night(
|
|||
hass.config.config_dir = os.getcwd()
|
||||
|
||||
coordinator = IrmKmiCoordinator(hass, mock_config_entry)
|
||||
await coordinator.async_config_entry_first_refresh()
|
||||
await coordinator.async_refresh()
|
||||
|
||||
weather = IrmKmiWeather(coordinator, mock_config_entry)
|
||||
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()
|
||||
|
||||
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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue