mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Fix wrong DeviceInfo in bluesound integration (#123101)
Fix bluesound device info
This commit is contained in:
@@ -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))},
|
||||||
|
Reference in New Issue
Block a user