Fix wrong DeviceInfo in bluesound integration (#123101)

Fix bluesound device info
This commit is contained in:
Louis Christ 2024-08-03 22:32:47 +02:00 committed by GitHub
parent b7d56ad38a
commit 02f81ec481
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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))},