mirror of
https://github.com/home-assistant/core.git
synced 2025-06-25 01:21:51 +02:00
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:
committed by
GitHub
parent
0eb6c88bc5
commit
460f02ede5
@ -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]))
|
||||
|
@ -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
2
requirements_all.txt
generated
@ -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
|
||||
|
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@ -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
|
||||
|
Reference in New Issue
Block a user