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