mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 06:47:09 +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):
|
def __post_init__(self):
|
||||||
"""Post initialize."""
|
"""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]):
|
class UpnpEntity(CoordinatorEntity[UpnpDataUpdateCoordinator]):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user