Remove unnecessary functools.cached_property backport (#114239)

This commit is contained in:
Marc Mueller 2024-04-04 11:24:26 +02:00 committed by GitHub
parent 7228f63c4a
commit 816ce116bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
63 changed files with 123 additions and 411 deletions

View file

@ -2,8 +2,9 @@
from __future__ import annotations
from functools import cached_property
import logging
from typing import TYPE_CHECKING, Any, Final
from typing import Any, Final
from aiohomekit.model.characteristics import (
ActivationStateValues,
@ -49,12 +50,6 @@ from . import KNOWN_DEVICES
from .connection import HKDevice
from .entity import HomeKitEntity
if TYPE_CHECKING:
from functools import cached_property
else:
from homeassistant.backports.functools import cached_property
_LOGGER = logging.getLogger(__name__)
# Map of Homekit operation modes to hass modes