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