Reduce repetitive noise in Sonos debug logs (#53352)

This commit is contained in:
jjlawren 2021-07-26 00:54:38 -05:00 committed by GitHub
parent c18b626d67
commit 550a6f159e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View file

@ -42,12 +42,6 @@ class SonosDiscoveryFlowHandler(DiscoveryFlowHandler):
boot_seqnum = properties.get("bootseq")
model = properties.get("model")
uid = hostname_to_uid(hostname)
_LOGGER.debug(
"Calling async_discovered_player for %s with uid=%s and boot_seqnum=%s",
host,
uid,
boot_seqnum,
)
if discovery_manager := self.hass.data.get(DATA_SONOS_DISCOVERY_MANAGER):
discovery_manager.async_discovered_player(
"Zeroconf", properties, host, uid, boot_seqnum, model