mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Use debug/warning instead of info log level in components [i] (#126036)
This commit is contained in:
parent
6a2d31a481
commit
dadd397bf0
@ -44,7 +44,7 @@ async def _async_connect(**kwargs):
|
||||
_LOGGER.error("Could not connect to Insteon modem")
|
||||
return False
|
||||
|
||||
_LOGGER.info("Connected to Insteon modem")
|
||||
_LOGGER.debug("Connected to Insteon modem")
|
||||
return True
|
||||
|
||||
|
||||
|
@ -144,7 +144,7 @@ async def async_setup_entry(
|
||||
isy_data.net_resources.append(resource)
|
||||
|
||||
# Dump ISY Clock Information. Future: Add ISY as sensor to Hass with attrs
|
||||
_LOGGER.info(repr(isy.clock))
|
||||
_LOGGER.debug(repr(isy.clock))
|
||||
|
||||
isy_data.root = isy
|
||||
_async_get_or_create_isy_device_in_registry(hass, entry, isy)
|
||||
|
@ -242,7 +242,7 @@ def async_unload_services(hass: HomeAssistant) -> None:
|
||||
if not existing_services or SERVICE_SEND_PROGRAM_COMMAND not in existing_services:
|
||||
return
|
||||
|
||||
_LOGGER.info("Unloading ISY994 Services")
|
||||
_LOGGER.debug("Unloading ISY994 Services")
|
||||
hass.services.async_remove(domain=DOMAIN, service=SERVICE_SEND_PROGRAM_COMMAND)
|
||||
hass.services.async_remove(domain=DOMAIN, service=SERVICE_SEND_RAW_NODE_COMMAND)
|
||||
hass.services.async_remove(domain=DOMAIN, service=SERVICE_SEND_NODE_COMMAND)
|
||||
|
@ -85,9 +85,9 @@ async def async_setup_entry(
|
||||
|
||||
# Filter out any entities excluded in the config file
|
||||
if conf and ctrl.device_uid in conf[CONF_EXCLUDE]:
|
||||
_LOGGER.info("Controller UID=%s ignored as excluded", ctrl.device_uid)
|
||||
_LOGGER.debug("Controller UID=%s ignored as excluded", ctrl.device_uid)
|
||||
return
|
||||
_LOGGER.info("Controller UID=%s discovered", ctrl.device_uid)
|
||||
_LOGGER.debug("Controller UID=%s discovered", ctrl.device_uid)
|
||||
|
||||
device = ControllerDevice(ctrl)
|
||||
async_add_entities([device])
|
||||
@ -245,9 +245,9 @@ class ControllerDevice(ClimateEntity):
|
||||
return
|
||||
|
||||
if available:
|
||||
_LOGGER.info("Reconnected controller %s ", self._controller.device_uid)
|
||||
_LOGGER.warning("Reconnected controller %s ", self._controller.device_uid)
|
||||
else:
|
||||
_LOGGER.info(
|
||||
_LOGGER.warning(
|
||||
"Controller %s disconnected due to exception: %s",
|
||||
self._controller.device_uid,
|
||||
ex,
|
||||
|
Loading…
x
Reference in New Issue
Block a user