mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Upgrade myuplink package to 0.2.1 (#110343)
This commit is contained in:
parent
5cdc3cec32
commit
0157026489
@ -11,7 +11,7 @@ from homeassistant.helpers import config_entry_oauth2_flow
|
||||
from .const import API_ENDPOINT
|
||||
|
||||
|
||||
class AsyncConfigEntryAuth(AbstractAuth): # type: ignore[misc]
|
||||
class AsyncConfigEntryAuth(AbstractAuth):
|
||||
"""Provide myUplink authentication tied to an OAuth2 based config entry."""
|
||||
|
||||
def __init__(
|
||||
|
@ -6,5 +6,5 @@
|
||||
"dependencies": ["application_credentials"],
|
||||
"documentation": "https://www.home-assistant.io/integrations/myuplink",
|
||||
"iot_class": "cloud_polling",
|
||||
"requirements": ["myuplink==0.1.1"]
|
||||
"requirements": ["myuplink==0.2.1"]
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
"""Update entity for myUplink."""
|
||||
from typing import cast
|
||||
|
||||
from homeassistant.components.update import (
|
||||
UpdateDeviceClass,
|
||||
@ -65,9 +64,9 @@ class MyUplinkDeviceUpdate(MyUplinkEntity, UpdateEntity):
|
||||
@property
|
||||
def installed_version(self) -> str | None:
|
||||
"""Return installed_version."""
|
||||
return cast(str, self.coordinator.data.devices[self.device_id].firmwareCurrent)
|
||||
return self.coordinator.data.devices[self.device_id].firmwareCurrent
|
||||
|
||||
@property
|
||||
def latest_version(self) -> str | None:
|
||||
"""Return latest_version."""
|
||||
return cast(str, self.coordinator.data.devices[self.device_id].firmwareDesired)
|
||||
return self.coordinator.data.devices[self.device_id].firmwareDesired
|
||||
|
@ -1337,7 +1337,7 @@ mutesync==0.0.1
|
||||
mypermobil==0.1.8
|
||||
|
||||
# homeassistant.components.myuplink
|
||||
myuplink==0.1.1
|
||||
myuplink==0.2.1
|
||||
|
||||
# homeassistant.components.nad
|
||||
nad-receiver==0.3.0
|
||||
|
@ -1073,7 +1073,7 @@ mutesync==0.0.1
|
||||
mypermobil==0.1.8
|
||||
|
||||
# homeassistant.components.myuplink
|
||||
myuplink==0.1.1
|
||||
myuplink==0.2.1
|
||||
|
||||
# homeassistant.components.keenetic_ndms2
|
||||
ndms2-client==0.1.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user