Skip to content

Commit

Permalink
remove prev_route attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
FaserF committed Feb 15, 2025
1 parent 4f566a9 commit c67e30f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/db_infoscreen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ async def _async_update_data(self):
_LOGGER.debug("Removing route attributes because keep_route is False")
departure.pop("route", None)
departure.pop("via", None)
departure.pop("prev_route", None)
else:
_LOGGER.debug("Keeping route attributes")

Expand Down

0 comments on commit c67e30f

Please sign in to comment.