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"
)
_LOGGER.info(
_LOGGER.debug(
(
"Fetched cast details for unknown model '%s' manufacturer:"
" '%s', type: '%s'. Please %s"

View file

@ -693,7 +693,7 @@ class CastMediaPlayerEntity(CastDevice, MediaPlayerEntity):
# an arbitrary cast app, generally for UX.
if "app_id" in app_data:
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)
if app_data:
_LOGGER.warning(

View file

@ -52,7 +52,6 @@ class CiscoDeviceScanner(DeviceScanner):
self.last_results = {}
self.success_init = self._update_info()
_LOGGER.info("Initialized cisco_ios scanner")
async def async_get_device_name(self, device: str) -> str | None:
"""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)
return False
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
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"])
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:
sensors.append(
Concord232ZoneSensor(

View file

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