Bump pyunifiprotect to 4.4.0 (#81696)
This commit is contained in:
parent
2bea77549d
commit
190840cd33
6 changed files with 10 additions and 13 deletions
|
@ -102,8 +102,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, data_service.async_stop)
|
||||
)
|
||||
|
||||
protect_version = data_service.api.bootstrap.nvr.version
|
||||
if protect_version.is_prerelease:
|
||||
if await data_service.api.bootstrap.get_is_prerelease():
|
||||
protect_version = data_service.api.bootstrap.nvr.version
|
||||
ir.async_create_issue(
|
||||
hass,
|
||||
DOMAIN,
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{
|
||||
"domain": "unifiprotect",
|
||||
"name": "UniFi Protect",
|
||||
"integration_type": "hub",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/unifiprotect",
|
||||
"requirements": ["pyunifiprotect==4.3.4", "unifi-discovery==1.1.7"],
|
||||
"requirements": ["pyunifiprotect==4.4.0", "unifi-discovery==1.1.7"],
|
||||
"dependencies": ["http"],
|
||||
"codeowners": ["@briis", "@AngellusMortis", "@bdraco"],
|
||||
"quality_scale": "platinum",
|
||||
|
|
|
@ -57,8 +57,8 @@
|
|||
},
|
||||
"issues": {
|
||||
"ea_warning": {
|
||||
"title": "{version} is an Early Access version of UniFi Protect",
|
||||
"description": "You are using {version} of UniFi Protect. Early Access versions are not supported by Home Assistant and may cause your UniFi Protect integration to break or not work as expected."
|
||||
"title": "UniFi Protect v{version} is an Early Access version",
|
||||
"description": "You are using v{version} of UniFi Protect which is an Early Access version. Early Access versions are not supported by Home Assistant and may cause your UniFi Protect integration to break or not work as expected."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,20 +43,16 @@
|
|||
},
|
||||
"issues": {
|
||||
"ea_warning": {
|
||||
"description": "You are using {version} of UniFi Protect. Early Access versions are not supported by Home Assistant and may cause your UniFi Protect integration to break or not work as expected.",
|
||||
"title": "{version} is an Early Access version of UniFi Protect"
|
||||
"description": "You are using v{version} of UniFi Protect which is an Early Access version. Early Access versions are not supported by Home Assistant and may cause your UniFi Protect integration to break or not work as expected.",
|
||||
"title": "UniFi Protect v{version} is an Early Access version"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"error": {
|
||||
"invalid_mac_list": "Must be a list of MAC addresses seperated by commas"
|
||||
},
|
||||
"step": {
|
||||
"init": {
|
||||
"data": {
|
||||
"all_updates": "Realtime metrics (WARNING: Greatly increases CPU usage)",
|
||||
"disable_rtsp": "Disable the RTSP stream",
|
||||
"ignored_devices": "Comma separated list of MAC addresses of devices to ignore",
|
||||
"max_media": "Max number of event to load for Media Browser (increases RAM usage)",
|
||||
"override_connection_host": "Override Connection Host"
|
||||
},
|
||||
|
|
|
@ -2084,7 +2084,7 @@ pytrafikverket==0.2.1
|
|||
pyudev==0.23.2
|
||||
|
||||
# homeassistant.components.unifiprotect
|
||||
pyunifiprotect==4.3.4
|
||||
pyunifiprotect==4.4.0
|
||||
|
||||
# homeassistant.components.uptimerobot
|
||||
pyuptimerobot==22.2.0
|
||||
|
|
|
@ -1447,7 +1447,7 @@ pytrafikverket==0.2.1
|
|||
pyudev==0.23.2
|
||||
|
||||
# homeassistant.components.unifiprotect
|
||||
pyunifiprotect==4.3.4
|
||||
pyunifiprotect==4.4.0
|
||||
|
||||
# homeassistant.components.uptimerobot
|
||||
pyuptimerobot==22.2.0
|
||||
|
|
Loading…
Add table
Reference in a new issue