forked from home-assistant/core
Disable cached_property in entity helper
This commit is contained in:
@@ -18,7 +18,6 @@ import time
|
|||||||
from types import FunctionType
|
from types import FunctionType
|
||||||
from typing import TYPE_CHECKING, Any, Final, Literal, NotRequired, TypedDict, final
|
from typing import TYPE_CHECKING, Any, Final, Literal, NotRequired, TypedDict, final
|
||||||
|
|
||||||
from propcache.api import cached_property
|
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
@@ -63,6 +62,8 @@ from .event import (
|
|||||||
from .frame import report_non_thread_safe_operation
|
from .frame import report_non_thread_safe_operation
|
||||||
from .typing import UNDEFINED, StateType, UndefinedType
|
from .typing import UNDEFINED, StateType, UndefinedType
|
||||||
|
|
||||||
|
cached_property = property
|
||||||
|
|
||||||
timer = time.time
|
timer = time.time
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
|
Reference in New Issue
Block a user