From 3a9d88fad1a528e0997721371cd8082e9f2b3e7e Mon Sep 17 00:00:00 2001 From: Hipstercat Date: Mon, 3 Jan 2022 21:22:52 +0100 Subject: [PATCH] fix wrong type --- sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensor.py b/sensor.py index e0a8176..c66a7da 100644 --- a/sensor.py +++ b/sensor.py @@ -10,7 +10,7 @@ def setup_platform( hass: HomeAssistant, config: ConfigType, add_entities: AddEntitiesCallback, - discovery_info: DiscoveryInfoType | None = None + discovery_info: DiscoveryInfoType = None ) -> None: """Set up the sensor platform.""" add_entities([SNCFNextJourneys(config)])