Remove unnecessary functools.cached_property backport (#114239)
This commit is contained in:
parent
7228f63c4a
commit
816ce116bf
63 changed files with 123 additions and 411 deletions
|
@ -7,9 +7,10 @@ import csv
|
|||
import dataclasses
|
||||
from datetime import timedelta
|
||||
from enum import IntFlag, StrEnum
|
||||
from functools import cached_property
|
||||
import logging
|
||||
import os
|
||||
from typing import TYPE_CHECKING, Any, Self, cast, final
|
||||
from typing import Any, Self, cast, final
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
|
@ -34,11 +35,6 @@ from homeassistant.helpers.typing import ConfigType
|
|||
from homeassistant.loader import bind_hass
|
||||
import homeassistant.util.color as color_util
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from functools import cached_property
|
||||
else:
|
||||
from homeassistant.backports.functools import cached_property
|
||||
|
||||
DOMAIN = "light"
|
||||
SCAN_INTERVAL = timedelta(seconds=30)
|
||||
DATA_PROFILES = "light_profiles"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue