Closed loopy321 closed 2 weeks ago
To resolve this issue, you can modify the code in entity.py
as follows:
1 """Support for UniLED lights."""
2 from __future__ import annotations
3 from typing import Any, Protocol
4 from abc import abstractmethod
5 from functools import partial
6
7 # from homeassistant.backports.functools import cached_property
8 from functools import cached_property
9 from homeassistant.const import (
10 ATTR_CONNECTIONS,
11 ATTR_HW_VERSION,
12 ATTR_IDENTIFIERS,
13 ATTR_MANUFACTURER,
14 ATTR_MODEL,
15 ATTR_NAME,
16 ATTR_SW_VERSION,
17 ATTR_SUGGESTED_AREA,
18 Platform,
19 )
Receiving the following warning in logs:
[homeassistant.backports.functools] cached_property was used from uniled, this is a deprecated alias which will be removed in HA Core 2025.5. Use functools.cached_property instead, please report it to the author of the 'uniled' custom integration