mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
Bump RMVtransport to v0.3.0 (#46691)
This commit is contained in:
parent
eb3e5cb67f
commit
1e9483a0e9
@ -3,7 +3,7 @@
|
|||||||
"name": "RMV",
|
"name": "RMV",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/rmvtransport",
|
"documentation": "https://www.home-assistant.io/integrations/rmvtransport",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"PyRMVtransport==0.2.10"
|
"PyRMVtransport==0.3.0"
|
||||||
],
|
],
|
||||||
"codeowners": [
|
"codeowners": [
|
||||||
"@cgtobi"
|
"@cgtobi"
|
||||||
|
@ -4,7 +4,10 @@ from datetime import timedelta
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from RMVtransport import RMVtransport
|
from RMVtransport import RMVtransport
|
||||||
from RMVtransport.rmvtransport import RMVtransportApiConnectionError
|
from RMVtransport.rmvtransport import (
|
||||||
|
RMVtransportApiConnectionError,
|
||||||
|
RMVtransportDataError,
|
||||||
|
)
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.components.sensor import PLATFORM_SCHEMA
|
from homeassistant.components.sensor import PLATFORM_SCHEMA
|
||||||
@ -229,7 +232,7 @@ class RMVDepartureData:
|
|||||||
max_journeys=50,
|
max_journeys=50,
|
||||||
)
|
)
|
||||||
|
|
||||||
except RMVtransportApiConnectionError:
|
except (RMVtransportApiConnectionError, RMVtransportDataError):
|
||||||
self.departures = []
|
self.departures = []
|
||||||
_LOGGER.warning("Could not retrieve data from rmv.de")
|
_LOGGER.warning("Could not retrieve data from rmv.de")
|
||||||
return
|
return
|
||||||
|
@ -49,7 +49,7 @@ PyNaCl==1.3.0
|
|||||||
PyQRCode==1.2.1
|
PyQRCode==1.2.1
|
||||||
|
|
||||||
# homeassistant.components.rmvtransport
|
# homeassistant.components.rmvtransport
|
||||||
PyRMVtransport==0.2.10
|
PyRMVtransport==0.3.0
|
||||||
|
|
||||||
# homeassistant.components.telegram_bot
|
# homeassistant.components.telegram_bot
|
||||||
PySocks==1.7.1
|
PySocks==1.7.1
|
||||||
|
@ -21,7 +21,7 @@ PyNaCl==1.3.0
|
|||||||
PyQRCode==1.2.1
|
PyQRCode==1.2.1
|
||||||
|
|
||||||
# homeassistant.components.rmvtransport
|
# homeassistant.components.rmvtransport
|
||||||
PyRMVtransport==0.2.10
|
PyRMVtransport==0.3.0
|
||||||
|
|
||||||
# homeassistant.components.transport_nsw
|
# homeassistant.components.transport_nsw
|
||||||
PyTransportNSW==0.1.1
|
PyTransportNSW==0.1.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user