mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix wrong DeviceInfo in bluesound integration (#123101)
Fix bluesound device info
This commit is contained in:
parent
b7d56ad38a
commit
02f81ec481
@ -255,7 +255,7 @@ class BluesoundPlayer(MediaPlayerEntity):
|
|||||||
|
|
||||||
self._attr_unique_id = format_unique_id(sync_status.mac, port)
|
self._attr_unique_id = format_unique_id(sync_status.mac, port)
|
||||||
# there should always be one player with the default port per mac
|
# there should always be one player with the default port per mac
|
||||||
if port is DEFAULT_PORT:
|
if port == DEFAULT_PORT:
|
||||||
self._attr_device_info = DeviceInfo(
|
self._attr_device_info = DeviceInfo(
|
||||||
identifiers={(DOMAIN, format_mac(sync_status.mac))},
|
identifiers={(DOMAIN, format_mac(sync_status.mac))},
|
||||||
connections={(CONNECTION_NETWORK_MAC, format_mac(sync_status.mac))},
|
connections={(CONNECTION_NETWORK_MAC, format_mac(sync_status.mac))},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user