mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 12:15:08 +02:00
Fix entity property cache creation arguments (#107221)
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user