Skip to content

Commit

Permalink
Update uiprotect to 5.2.2 (#121227)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Jul 4, 2024
1 parent 7d5341c commit 79f4cc9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/unifiprotect/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"integration_type": "hub",
"iot_class": "local_push",
"loggers": ["uiprotect", "unifi_discovery"],
"requirements": ["uiprotect==5.2.0", "unifi-discovery==1.2.0"],
"requirements": ["uiprotect==5.2.2", "unifi-discovery==1.2.0"],
"ssdp": [
{
"manufacturer": "Ubiquiti Networks",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/unifiprotect/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async def _set_auto_close(obj: Doorlock, value: float) -> None:


def _get_chime_duration(obj: Camera) -> int:
return int(obj.chime_duration.total_seconds())
return int(obj.chime_duration_seconds)


CAMERA_NUMBERS: tuple[ProtectNumberEntityDescription, ...] = (
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2792,7 +2792,7 @@ twitchAPI==4.0.0
uasiren==0.0.1

# homeassistant.components.unifiprotect
uiprotect==5.2.0
uiprotect==5.2.2

# homeassistant.components.landisgyr_heat_meter
ultraheat-api==0.5.7
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2172,7 +2172,7 @@ twitchAPI==4.0.0
uasiren==0.0.1

# homeassistant.components.unifiprotect
uiprotect==5.2.0
uiprotect==5.2.2

# homeassistant.components.landisgyr_heat_meter
ultraheat-api==0.5.7
Expand Down

0 comments on commit 79f4cc9

Please sign in to comment.