mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
fixes
This commit is contained in:
@@ -383,16 +383,19 @@ class DlnaDmrEntity(MediaPlayerEntity):
|
||||
return # No new information
|
||||
|
||||
self._updated_registry = True
|
||||
connections = set()
|
||||
# Connections based on the root device's UDN, and the DMR embedded
|
||||
# device's UDN. They may be the same, if the DMR is the root device.
|
||||
connections.add(
|
||||
connections = {
|
||||
(
|
||||
dr.CONNECTION_UPNP,
|
||||
self._device.profile_device.root_device.udn,
|
||||
)
|
||||
)
|
||||
connections.add((dr.CONNECTION_UPNP, self._device.udn))
|
||||
),
|
||||
(dr.CONNECTION_UPNP, self._device.udn),
|
||||
(
|
||||
dr.CONNECTION_UPNP,
|
||||
self.udn,
|
||||
),
|
||||
}
|
||||
|
||||
if self.mac_address:
|
||||
# Connection based on MAC address, if known
|
||||
|
Reference in New Issue
Block a user