Use debug/warning instead of info log level in components [w] (#126231)

This commit is contained in:
Jan-Philipp Benecke 2024-09-18 21:14:55 +02:00 committed by GitHub
parent 6bc2d11c5e
commit 5075b8736e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -113,7 +113,7 @@ class WolSwitch(SwitchEntity):
if self._broadcast_port is not None: if self._broadcast_port is not None:
service_kwargs["port"] = self._broadcast_port service_kwargs["port"] = self._broadcast_port
_LOGGER.info( _LOGGER.debug(
"Send magic packet to mac %s (broadcast: %s, port: %s)", "Send magic packet to mac %s (broadcast: %s, port: %s)",
self._mac_address, self._mac_address,
self._broadcast_address, self._broadcast_address,

View File

@ -422,13 +422,13 @@ class LgWebOSMediaPlayerEntity(RestoreEntity, MediaPlayerEntity):
partial_match_channel_id = channel["channelId"] partial_match_channel_id = channel["channelId"]
if perfect_match_channel_id is not None: if perfect_match_channel_id is not None:
_LOGGER.info( _LOGGER.debug(
"Switching to channel <%s> with perfect match", "Switching to channel <%s> with perfect match",
perfect_match_channel_id, perfect_match_channel_id,
) )
await self._client.set_channel(perfect_match_channel_id) await self._client.set_channel(perfect_match_channel_id)
elif partial_match_channel_id is not None: elif partial_match_channel_id is not None:
_LOGGER.info( _LOGGER.debug(
"Switching to channel <%s> with partial match", "Switching to channel <%s> with partial match",
partial_match_channel_id, partial_match_channel_id,
) )

View File

@ -78,7 +78,7 @@ class WiLightParent:
EVENT_HOMEASSISTANT_STOP, lambda x: client.stop() EVENT_HOMEASSISTANT_STOP, lambda x: client.stop()
) )
_LOGGER.info("Connected to WiLight device: %s", api_device.device_id) _LOGGER.debug("Connected to WiLight device: %s", api_device.device_id)
await connect(api_device) await connect(api_device)

View File

@ -52,7 +52,7 @@ def _find_zones(hass: HomeAssistant, ws66i: WS66i) -> list[int]:
zone_id = (amp_num * 10) + zone_num zone_id = (amp_num * 10) + zone_num
zone_list.append(zone_id) zone_list.append(zone_id)
_LOGGER.info("Detected %d amp(s)", amp_num - 1) _LOGGER.debug("Detected %d amp(s)", amp_num - 1)
return zone_list return zone_list