diff --git a/custom_components/london_tfl/tfl_data.py b/custom_components/london_tfl/tfl_data.py index 6ddb8d5..e0a92a9 100644 --- a/custom_components/london_tfl/tfl_data.py +++ b/custom_components/london_tfl/tfl_data.py @@ -3,7 +3,7 @@ def get_destination(entry): - if 'towards' in entry: + if 'towards' in entry and len(entry['towards']) > 0: return entry['towards'] if 'destinationName' in entry: return entry['destinationName']