Fix unifiprotect TypeVar inheritance (#70782)

This commit is contained in:
Marc Mueller 2022-04-26 19:15:47 +02:00 committed by GitHub
parent abdf5bb86a
commit a5fa40180c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 10 deletions

View file

@ -6,7 +6,7 @@ from dataclasses import dataclass
from datetime import timedelta
from enum import Enum
import logging
from typing import Any, Final, Generic
from typing import Any, Final
from pyunifiprotect.api import ProtectApiClient
from pyunifiprotect.data import (
@ -104,7 +104,7 @@ SET_DOORBELL_LCD_MESSAGE_SCHEMA = vol.Schema(
@dataclass
class ProtectSelectEntityDescription(
ProtectSetableKeysMixin, SelectEntityDescription, Generic[T]
ProtectSetableKeysMixin[T], SelectEntityDescription
):
"""Describes UniFi Protect Select entity."""