Fix unifiprotect TypeVar inheritance (#70782)
This commit is contained in:
parent
abdf5bb86a
commit
a5fa40180c
5 changed files with 9 additions and 10 deletions
|
@ -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."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue