Skip to content

Commit

Permalink
fix: doorbell image retry with yale global brand (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Aug 27, 2024
1 parent de5238e commit 4a41de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yalexs/manager/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ async def async_get_doorbell_image(
try:
return await doorbell.async_get_doorbell_image(aiohttp_session, timeout)
except ContentTokenExpired:
if self.brand != Brand.YALE_HOME:
if self.brand not in (Brand.YALE_HOME, Brand.YALE_GLOBAL):
raise
_LOGGER.debug(
"Error fetching camera image, updating content-token from api to retry"
Expand Down

0 comments on commit 4a41de5

Please sign in to comment.