fix wrong type

This commit is contained in:
Amazed 2022-01-03 21:22:52 +01:00
parent e03d53642b
commit 3a9d88fad1

View File

@ -10,7 +10,7 @@ def setup_platform(
hass: HomeAssistant, hass: HomeAssistant,
config: ConfigType, config: ConfigType,
add_entities: AddEntitiesCallback, add_entities: AddEntitiesCallback,
discovery_info: DiscoveryInfoType | None = None discovery_info: DiscoveryInfoType = None
) -> None: ) -> None:
"""Set up the sensor platform.""" """Set up the sensor platform."""
add_entities([SNCFNextJourneys(config)]) add_entities([SNCFNextJourneys(config)])