Skip to content

Commit

Permalink
Better typing
Browse files Browse the repository at this point in the history
  • Loading branch information
tjorim authored Jan 30, 2025
1 parent 89f4df7 commit e24e5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/nmbs/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def _fetch_stations_choices(self) -> list[SelectOptionDict]:
for station in self.stations
]

async def _find_station_with_fallback(self, station_name: str) -> dict | None:
async def _find_station_with_fallback(self, station_name: str) -> dict[str, Any] | None:
"""Find station by name, fallback to liveboard API if not found."""
# First check exact matches
for station in self.stations:
Expand Down

0 comments on commit e24e5ec

Please sign in to comment.