Fix entity descriptions in upnp (#106023)

This commit is contained in:
Erik Montnemery
2023-12-19 02:26:38 +01:00
committed by GitHub
parent d1f6b1271f
commit 649e8e689d

View File

@@ -19,7 +19,7 @@ class UpnpEntityDescription(EntityDescription):
def __post_init__(self):
"""Post initialize."""
self.value_key = self.value_key or self.key
object.__setattr__(self, "value_key", self.value_key or self.key)
class UpnpEntity(CoordinatorEntity[UpnpDataUpdateCoordinator]):