fix wrong type
This commit is contained in:
parent
e03d53642b
commit
3a9d88fad1
@ -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)])
|
||||||
|
Loading…
Reference in New Issue
Block a user