Use debug instead of info log level in components [L] (#126039)
Use debug instead of info log level in components [l]pull/126048/head
parent
e3c2f81506
commit
8bfcdb9266
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue