Use debug instead of info log level in components [c] (#125955)

Use debug/warning instead of info log level in components [c]
This commit is contained in:
Jan-Philipp Benecke 2024-09-14 15:51:58 +02:00 committed by GitHub
parent b18b497a81
commit 2cbbf7d9a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 5 additions and 6 deletions

View File

@ -80,7 +80,7 @@ class ChromecastInfo:
"+label%3A%22integration%3A+cast%22" "+label%3A%22integration%3A+cast%22"
) )
_LOGGER.info( _LOGGER.debug(
( (
"Fetched cast details for unknown model '%s' manufacturer:" "Fetched cast details for unknown model '%s' manufacturer:"
" '%s', type: '%s'. Please %s" " '%s', type: '%s'. Please %s"

View File

@ -693,7 +693,7 @@ class CastMediaPlayerEntity(CastDevice, MediaPlayerEntity):
# an arbitrary cast app, generally for UX. # an arbitrary cast app, generally for UX.
if "app_id" in app_data: if "app_id" in app_data:
app_id = app_data.pop("app_id") app_id = app_data.pop("app_id")
_LOGGER.info("Starting Cast app by ID %s", app_id) _LOGGER.debug("Starting Cast app by ID %s", app_id)
await self.hass.async_add_executor_job(self._start_app, app_id) await self.hass.async_add_executor_job(self._start_app, app_id)
if app_data: if app_data:
_LOGGER.warning( _LOGGER.warning(

View File

@ -52,7 +52,6 @@ class CiscoDeviceScanner(DeviceScanner):
self.last_results = {} self.last_results = {}
self.success_init = self._update_info() self.success_init = self._update_info()
_LOGGER.info("Initialized cisco_ios scanner")
async def async_get_device_name(self, device: str) -> str | None: async def async_get_device_name(self, device: str) -> str | None:
"""Get the firmware doesn't save the name of the wireless device.""" """Get the firmware doesn't save the name of the wireless device."""

View File

@ -66,7 +66,7 @@ def setup(hass: HomeAssistant, config: ConfigType) -> bool:
_LOGGER.error("Could not connect to ComfoConnect bridge on %s", host) _LOGGER.error("Could not connect to ComfoConnect bridge on %s", host)
return False return False
bridge = bridges[0] bridge = bridges[0]
_LOGGER.info("Bridge found: %s (%s)", bridge.uuid.hex(), bridge.host) _LOGGER.debug("Bridge found: %s (%s)", bridge.uuid.hex(), bridge.host)
# Setup ComfoConnect Bridge # Setup ComfoConnect Bridge
ccb = ComfoConnectBridge(hass, bridge, name, token, user_agent, pin) ccb = ComfoConnectBridge(hass, bridge, name, token, user_agent, pin)

View File

@ -80,7 +80,7 @@ def setup_platform(
client.zones.sort(key=lambda zone: zone["number"]) client.zones.sort(key=lambda zone: zone["number"])
for zone in client.zones: for zone in client.zones:
_LOGGER.info("Loading Zone found: %s", zone["name"]) _LOGGER.debug("Loading Zone found: %s", zone["name"])
if zone["number"] not in exclude: if zone["number"] not in exclude:
sensors.append( sensors.append(
Concord232ZoneSensor( Concord232ZoneSensor(

View File

@ -37,7 +37,7 @@ async def update_variables_for_config_entry(
try: try:
return await _update_variables_for_config_entry(hass, entry, variable_names) return await _update_variables_for_config_entry(hass, entry, variable_names)
except BadToken: except BadToken:
_LOGGER.info("Updating Control4 director token") _LOGGER.debug("Updating Control4 director token")
await refresh_tokens(hass, entry) await refresh_tokens(hass, entry)
return await _update_variables_for_config_entry(hass, entry, variable_names) return await _update_variables_for_config_entry(hass, entry, variable_names)