Use debug instead of info log level in components [L] (#126039)

Use debug instead of info log level in components [l]
pull/126048/head
Jan-Philipp Benecke 2024-09-16 12:38:28 +02:00 committed by GitHub
parent e3c2f81506
commit 8bfcdb9266
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -73,6 +73,6 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
hass, config_entry.entry_id, update_entity_unique_id
)
_LOGGER.info("Migration to version %s successful", config_entry.version)
_LOGGER.debug("Migration to version %s successful", config_entry.version)
return True

View File

@ -88,7 +88,7 @@ async def async_legacy_migration(
hass, hosts_by_serial, existing_serials, legacy_entry
)
if missing_discovery_count:
_LOGGER.info(
_LOGGER.debug(
"Migration in progress, waiting to discover %s device(s)",
missing_discovery_count,
)

View File

@ -62,7 +62,7 @@ class LinksysSmartWifiDeviceScanner(DeviceScanner):
def _update_info(self):
"""Check for connected devices."""
_LOGGER.info("Checking Linksys Smart Wifi")
_LOGGER.debug("Checking Linksys Smart Wifi")
self.last_results = {}
response = self._make_request()

View File

@ -71,7 +71,7 @@ class LircInterface(threading.Thread):
# interpret result from python-lirc
if code:
code = code[0]
_LOGGER.info("Got new LIRC code %s", code)
_LOGGER.debug("Got new LIRC code %s", code)
self.hass.bus.fire(EVENT_IR_COMMAND_RECEIVED, {BUTTON_NAME: code})
else:
time.sleep(0.2)

View File

@ -25,7 +25,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
def handle_connected_changed(connected: bool, reason: str) -> None:
if connected:
_LOGGER.info("Connected")
_LOGGER.debug("Connected")
else:
_LOGGER.warning("Disconnected %s", reason)

View File

@ -54,7 +54,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
lutron_client = Lutron(host, uid, pwd)
await hass.async_add_executor_job(lutron_client.load_xml_db)
lutron_client.connect()
_LOGGER.info("Connected to main repeater at %s", host)
_LOGGER.debug("Connected to main repeater at %s", host)
entity_registry = er.async_get(hass)
device_registry = dr.async_get(hass)