mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Use PEP 695 type alias for ConfigEntry type in Forecast Solar (#118107)
This commit is contained in:
parent
ec76f34ba5
commit
a89dcbc78b
@ -16,7 +16,7 @@ from .coordinator import ForecastSolarDataUpdateCoordinator
|
|||||||
|
|
||||||
PLATFORMS = [Platform.SENSOR]
|
PLATFORMS = [Platform.SENSOR]
|
||||||
|
|
||||||
ForecastSolarConfigEntry = ConfigEntry[ForecastSolarDataUpdateCoordinator]
|
type ForecastSolarConfigEntry = ConfigEntry[ForecastSolarDataUpdateCoordinator]
|
||||||
|
|
||||||
|
|
||||||
async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user