mirror of
https://github.com/home-assistant/core.git
synced 2025-08-22 22:12:48 +02:00
Bump RMVtransport to v0.3.0 (#46691)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user