Skip to content

Commit

Permalink
Fix wrong DeviceInfo in bluesound integration (home-assistant#123101)
Browse files Browse the repository at this point in the history
Fix bluesound device info
  • Loading branch information
LouisChrist authored Aug 3, 2024
1 parent b7d56ad commit 02f81ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/bluesound/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def __init__(

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))},
Expand Down

0 comments on commit 02f81ec

Please sign in to comment.