Bump pynecil to 0.2.1 (#129843)

This commit is contained in:
Manu 2024-11-05 11:52:11 +01:00 committed by GitHub
parent 72bcc6702f
commit 5fd1e23255
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 8 deletions

View File

@ -37,15 +37,14 @@ class IronOSLiveDataCoordinator(DataUpdateCoordinator[LiveDataResponse]):
)
self.device = device
async def _async_setup(self) -> None:
"""Set up the coordinator."""
self.device_info = await self.device.get_device_info()
async def _async_update_data(self) -> LiveDataResponse:
"""Fetch data from Device."""
try:
# device info is cached and won't be refetched on every
# coordinator refresh, only after the device has disconnected
# the device info is refetched
self.device_info = await self.device.get_device_info()
return await self.device.get_live_data()
except CommunicationError as e:

View File

@ -13,5 +13,5 @@
"documentation": "https://www.home-assistant.io/integrations/iron_os",
"iot_class": "local_polling",
"loggers": ["pynecil", "aiogithubapi"],
"requirements": ["pynecil==0.2.0", "aiogithubapi==24.6.0"]
"requirements": ["pynecil==0.2.1", "aiogithubapi==24.6.0"]
}

View File

@ -2084,7 +2084,7 @@ pymsteams==0.1.12
pymysensors==0.24.0
# homeassistant.components.iron_os
pynecil==0.2.0
pynecil==0.2.1
# homeassistant.components.netgear
pynetgear==0.10.10

View File

@ -1680,7 +1680,7 @@ pymonoprice==0.4
pymysensors==0.24.0
# homeassistant.components.iron_os
pynecil==0.2.0
pynecil==0.2.1
# homeassistant.components.netgear
pynetgear==0.10.10