Import names from typing instead of typing_extensions [3.11] (#97065)

This commit is contained in:
Marc Mueller 2023-07-23 00:03:44 +02:00 committed by GitHub
parent 7c55dbdb17
commit 77f38e33e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 45 additions and 94 deletions

View file

@ -5,10 +5,9 @@ import base64
from dataclasses import dataclass
import json
import struct
from typing import Any, Literal, overload
from typing import Any, Literal, Self, overload
from tuya_iot import TuyaDevice, TuyaDeviceManager
from typing_extensions import Self
from homeassistant.helpers.dispatcher import async_dispatcher_connect
from homeassistant.helpers.entity import DeviceInfo, Entity