Use PEP 695 type alias for ConfigEntry types (#117632)
This commit is contained in:
parent
0b8a5ac9ad
commit
44049c34f9
74 changed files with 78 additions and 77 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue