mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
This commit is contained in:
parent
95663f8126
commit
b75ce4f1b2
@ -136,7 +136,7 @@ class PublicTransportData(object):
|
|||||||
'fields[]=connections/from/departureTimestamp/&' +
|
'fields[]=connections/from/departureTimestamp/&' +
|
||||||
'fields[]=connections/',
|
'fields[]=connections/',
|
||||||
timeout=10)
|
timeout=10)
|
||||||
connections = response.json()['connections'][:2]
|
connections = response.json()['connections'][1:3]
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.times = [
|
self.times = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user