1
mirror of https://github.com/home-assistant/core synced 2024-09-12 15:16:21 +02:00

Fix entity property cache creation arguments (#107221)

This commit is contained in:
Petru Paler 2024-01-05 08:18:25 +00:00 committed by GitHub
parent ace4edf91c
commit 4a2958baeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -299,7 +299,7 @@ class CachedProperties(type):
Pop cached_properties and store it in the namespace.
"""
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__(
cls,