mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Use debug instead of info log level in components [L] (#126039)
Use debug instead of info log level in components [l]
This commit is contained in:
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
|
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
|
return True
|
||||||
|
@ -88,7 +88,7 @@ async def async_legacy_migration(
|
|||||||
hass, hosts_by_serial, existing_serials, legacy_entry
|
hass, hosts_by_serial, existing_serials, legacy_entry
|
||||||
)
|
)
|
||||||
if missing_discovery_count:
|
if missing_discovery_count:
|
||||||
_LOGGER.info(
|
_LOGGER.debug(
|
||||||
"Migration in progress, waiting to discover %s device(s)",
|
"Migration in progress, waiting to discover %s device(s)",
|
||||||
missing_discovery_count,
|
missing_discovery_count,
|
||||||
)
|
)
|
||||||
|
@ -62,7 +62,7 @@ class LinksysSmartWifiDeviceScanner(DeviceScanner):
|
|||||||
|
|
||||||
def _update_info(self):
|
def _update_info(self):
|
||||||
"""Check for connected devices."""
|
"""Check for connected devices."""
|
||||||
_LOGGER.info("Checking Linksys Smart Wifi")
|
_LOGGER.debug("Checking Linksys Smart Wifi")
|
||||||
|
|
||||||
self.last_results = {}
|
self.last_results = {}
|
||||||
response = self._make_request()
|
response = self._make_request()
|
||||||
|
@ -71,7 +71,7 @@ class LircInterface(threading.Thread):
|
|||||||
# interpret result from python-lirc
|
# interpret result from python-lirc
|
||||||
if code:
|
if code:
|
||||||
code = code[0]
|
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})
|
self.hass.bus.fire(EVENT_IR_COMMAND_RECEIVED, {BUTTON_NAME: code})
|
||||||
else:
|
else:
|
||||||
time.sleep(0.2)
|
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:
|
def handle_connected_changed(connected: bool, reason: str) -> None:
|
||||||
if connected:
|
if connected:
|
||||||
_LOGGER.info("Connected")
|
_LOGGER.debug("Connected")
|
||||||
else:
|
else:
|
||||||
_LOGGER.warning("Disconnected %s", reason)
|
_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)
|
lutron_client = Lutron(host, uid, pwd)
|
||||||
await hass.async_add_executor_job(lutron_client.load_xml_db)
|
await hass.async_add_executor_job(lutron_client.load_xml_db)
|
||||||
lutron_client.connect()
|
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)
|
entity_registry = er.async_get(hass)
|
||||||
device_registry = dr.async_get(hass)
|
device_registry = dr.async_get(hass)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user