mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Bump pynecil to 0.2.1 (#129843)
This commit is contained in:
parent
72bcc6702f
commit
5fd1e23255
@ -37,15 +37,14 @@ class IronOSLiveDataCoordinator(DataUpdateCoordinator[LiveDataResponse]):
|
|||||||
)
|
)
|
||||||
self.device = device
|
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:
|
async def _async_update_data(self) -> LiveDataResponse:
|
||||||
"""Fetch data from Device."""
|
"""Fetch data from Device."""
|
||||||
|
|
||||||
try:
|
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()
|
return await self.device.get_live_data()
|
||||||
|
|
||||||
except CommunicationError as e:
|
except CommunicationError as e:
|
||||||
|
@ -13,5 +13,5 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/iron_os",
|
"documentation": "https://www.home-assistant.io/integrations/iron_os",
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"loggers": ["pynecil", "aiogithubapi"],
|
"loggers": ["pynecil", "aiogithubapi"],
|
||||||
"requirements": ["pynecil==0.2.0", "aiogithubapi==24.6.0"]
|
"requirements": ["pynecil==0.2.1", "aiogithubapi==24.6.0"]
|
||||||
}
|
}
|
||||||
|
@ -2084,7 +2084,7 @@ pymsteams==0.1.12
|
|||||||
pymysensors==0.24.0
|
pymysensors==0.24.0
|
||||||
|
|
||||||
# homeassistant.components.iron_os
|
# homeassistant.components.iron_os
|
||||||
pynecil==0.2.0
|
pynecil==0.2.1
|
||||||
|
|
||||||
# homeassistant.components.netgear
|
# homeassistant.components.netgear
|
||||||
pynetgear==0.10.10
|
pynetgear==0.10.10
|
||||||
|
@ -1680,7 +1680,7 @@ pymonoprice==0.4
|
|||||||
pymysensors==0.24.0
|
pymysensors==0.24.0
|
||||||
|
|
||||||
# homeassistant.components.iron_os
|
# homeassistant.components.iron_os
|
||||||
pynecil==0.2.0
|
pynecil==0.2.1
|
||||||
|
|
||||||
# homeassistant.components.netgear
|
# homeassistant.components.netgear
|
||||||
pynetgear==0.10.10
|
pynetgear==0.10.10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user