Use PEP 695 type alias for ConfigEntry types (#117632)

This commit is contained in:
Marc Mueller 2024-05-17 15:42:58 +02:00 committed by GitHub
parent 0b8a5ac9ad
commit 44049c34f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
74 changed files with 78 additions and 77 deletions

View file

@ -28,7 +28,7 @@ _LOGGER = logging.getLogger(__name__)
PLATFORMS = [Platform.BUTTON, Platform.SENSOR]
NAMConfigEntry = ConfigEntry[NAMDataUpdateCoordinator]
type NAMConfigEntry = ConfigEntry[NAMDataUpdateCoordinator]
async def async_setup_entry(hass: HomeAssistant, entry: NAMConfigEntry) -> bool: