mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Use PEP 695 type alias for ConfigEntry type in Forecast Solar (#118107)
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user