Remove unneeded logs from Yamaha (#123349)

This commit is contained in:
Franck Nijhof 2024-08-08 11:32:22 +02:00 committed by GitHub
parent 984bbf60ef
commit 8a8fac46e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -238,19 +238,6 @@ class YamahaDeviceZone(MediaPlayerEntity):
# the default name of the integration may not be changed # the default name of the integration may not be changed
# to avoid a breaking change. # to avoid a breaking change.
self._attr_unique_id = f"{self.zctrl.serial_number}_{self._zone}" self._attr_unique_id = f"{self.zctrl.serial_number}_{self._zone}"
_LOGGER.debug(
"Receiver zone: %s zone %s uid %s",
self._name,
self._zone,
self._attr_unique_id,
)
else:
_LOGGER.info(
"Receiver zone: %s zone %s no uid %s",
self._name,
self._zone,
self._attr_unique_id,
)
def update(self) -> None: def update(self) -> None:
"""Get the latest details from the device.""" """Get the latest details from the device."""