Update WazeTravelSensor to 0.9 (#21130)
* Update WazeRouteCalculator to 0.8 and suppress logging Fixes #20071 and #21051 * Update requirements_all.txt * Update requirements_all.txt * Update waze_travel_time.py * Update waze_travel_time.py * Update waze_travel_time.py * Update waze_travel_time.py
This commit is contained in:
parent
3e9376c418
commit
65bc7a6fbd
2 changed files with 4 additions and 3 deletions
|
@ -18,7 +18,7 @@ from homeassistant.helpers import location
|
|||
from homeassistant.helpers.entity import Entity
|
||||
from homeassistant.util import Throttle
|
||||
|
||||
REQUIREMENTS = ['WazeRouteCalculator==0.6']
|
||||
REQUIREMENTS = ['WazeRouteCalculator==0.9']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -204,7 +204,8 @@ class WazeTravelTime(Entity):
|
|||
if self._destination is not None and self._origin is not None:
|
||||
try:
|
||||
params = WazeRouteCalculator.WazeRouteCalculator(
|
||||
self._origin, self._destination, self._region)
|
||||
self._origin, self._destination, self._region,
|
||||
log_lvl=logging.DEBUG)
|
||||
routes = params.calc_all_routes_info(real_time=self._realtime)
|
||||
|
||||
if self._incl_filter is not None:
|
||||
|
|
|
@ -78,7 +78,7 @@ TravisPy==0.3.5
|
|||
TwitterAPI==2.5.9
|
||||
|
||||
# homeassistant.components.sensor.waze_travel_time
|
||||
WazeRouteCalculator==0.6
|
||||
WazeRouteCalculator==0.9
|
||||
|
||||
# homeassistant.components.notify.yessssms
|
||||
YesssSMS==0.2.3
|
||||
|
|
Loading…
Add table
Reference in a new issue