mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 06:17:07 +00:00
Fix entity property cache creation arguments (#107221)
This commit is contained in:
parent
ace4edf91c
commit
4a2958baeb
@ -299,7 +299,7 @@ class CachedProperties(type):
|
|||||||
Pop cached_properties and store it in the namespace.
|
Pop cached_properties and store it in the namespace.
|
||||||
"""
|
"""
|
||||||
namespace["_CachedProperties__cached_properties"] = cached_properties or set()
|
namespace["_CachedProperties__cached_properties"] = cached_properties or set()
|
||||||
return super().__new__(mcs, name, bases, namespace)
|
return super().__new__(mcs, name, bases, namespace, **kwargs)
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
cls,
|
cls,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user