Update yandex transport after api change (#27591)
* yandex maps api changed ("threads" in "Transport" added), ya_ma=>0.3.8 bug_fixed
* Update homeassistant/components/yandex_transport/sensor.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* additional fix
* reformat
* fix mistake
This commit is contained in:
1 parent
da29c1125f
commit
ff4e35e0ad
6 files changed
+1577
-2120
No files matched your search
@@ -38,14 +38,14 @@ TEST_CONFIG = {
|
||||
}
|
||||
|
||||
FILTERED_ATTRS = {
|
||||
"т36": ["21:43", "21:47", "22:02"],
|
||||
"т47": ["21:40", "22:01"],
|
||||
"м10": ["21:48", "22:00"],
|
||||
"т36": ["16:10", "16:17", "16:26"],
|
||||
"т47": ["16:09", "16:10"],
|
||||
"м10": ["16:12", "16:20"],
|
||||
"stop_name": "7-й автобусный парк",
|
||||
"attribution": "Data provided by maps.yandex.ru",
|
||||
}
|
||||
|
||||
RESULT_STATE = dt_util.utc_from_timestamp(1568659253).isoformat(timespec="seconds")
|
||||
RESULT_STATE = dt_util.utc_from_timestamp(1570972183).isoformat(timespec="seconds")
|
||||
|
||||
|
||||
async def assert_setup_sensor(hass, config, count=1):
|
||||
|
||||
Reference in new issue
Block a user