Skip to content

Commit

Permalink
Bump aioymaps to 1.2.5 (home-assistant#123005)
Browse files Browse the repository at this point in the history
Bump aiomaps, fix sessionId parsing
  • Loading branch information
devbis authored Aug 1, 2024
1 parent d16a2fa commit 25d4dd8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/yandex_transport/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"codeowners": ["@rishatik92", "@devbis"],
"documentation": "https://www.home-assistant.io/integrations/yandex_transport",
"iot_class": "cloud_polling",
"requirements": ["aioymaps==1.2.4"]
"requirements": ["aioymaps==1.2.5"]
}
4 changes: 2 additions & 2 deletions homeassistant/components/yandex_transport/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from datetime import timedelta
import logging

from aioymaps import CaptchaError, YandexMapsRequester
from aioymaps import CaptchaError, NoSessionError, YandexMapsRequester
import voluptuous as vol

from homeassistant.components.sensor import (
Expand Down Expand Up @@ -88,7 +88,7 @@ async def async_update(self, *, tries=0):
closer_time = None
try:
yandex_reply = await self.requester.get_stop_info(self._stop_id)
except CaptchaError as ex:
except (CaptchaError, NoSessionError) as ex:
_LOGGER.error(
"%s. You may need to disable the integration for some time",
ex,
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ aiowebostv==0.4.2
aiowithings==3.0.2

# homeassistant.components.yandex_transport
aioymaps==1.2.4
aioymaps==1.2.5

# homeassistant.components.airgradient
airgradient==0.7.1
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ aiowebostv==0.4.2
aiowithings==3.0.2

# homeassistant.components.yandex_transport
aioymaps==1.2.4
aioymaps==1.2.5

# homeassistant.components.airgradient
airgradient==0.7.1
Expand Down

0 comments on commit 25d4dd8

Please sign in to comment.