mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00:00
Fix entity descriptions in upnp (#106023)
This commit is contained in:
parent
d1f6b1271f
commit
649e8e689d
@ -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]):
|
||||
|
Loading…
x
Reference in New Issue
Block a user