Update mill library 0.12.5 (#144911)

* Update mill library 0.12.5

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Update mill library 0.12.5

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

---------

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
This commit is contained in:
Daniel Hjelseth Høyer
2025-05-14 20:46:28 +02:00
committed by GitHub
parent 0eb6c88bc5
commit 460f02ede5
4 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ from .const import DOMAIN
_LOGGER = logging.getLogger(__name__)
TWO_YEARS = 2 * 365 * 24
TWO_YEARS_DAYS = 2 * 365
class MillDataUpdateCoordinator(DataUpdateCoordinator):
@ -91,7 +91,7 @@ class MillHistoricDataUpdateCoordinator(DataUpdateCoordinator):
if not last_stats or not last_stats.get(statistic_id):
hourly_data = (
await self.mill_data_connection.fetch_historic_energy_usage(
dev_id, n_days=TWO_YEARS
dev_id, n_days=TWO_YEARS_DAYS
)
)
hourly_data = dict(sorted(hourly_data.items(), key=lambda x: x[0]))

View File

@ -7,5 +7,5 @@
"documentation": "https://www.home-assistant.io/integrations/mill",
"iot_class": "local_polling",
"loggers": ["mill", "mill_local"],
"requirements": ["millheater==0.12.3", "mill-local==0.3.0"]
"requirements": ["millheater==0.12.5", "mill-local==0.3.0"]
}

2
requirements_all.txt generated
View File

@ -1424,7 +1424,7 @@ microBeesPy==0.3.5
mill-local==0.3.0
# homeassistant.components.mill
millheater==0.12.3
millheater==0.12.5
# homeassistant.components.minio
minio==7.1.12

View File

@ -1197,7 +1197,7 @@ microBeesPy==0.3.5
mill-local==0.3.0
# homeassistant.components.mill
millheater==0.12.3
millheater==0.12.5
# homeassistant.components.minio
minio==7.1.12