mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +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)
|
||||
# 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(
|
||||
identifiers={(DOMAIN, format_mac(sync_status.mac))},
|
||||
connections={(CONNECTION_NETWORK_MAC, format_mac(sync_status.mac))},
|
||||
|
Loading…
x
Reference in New Issue
Block a user