Use debug/warning instead of info log level in components [i] (#126036)

This commit is contained in:
Jan-Philipp Benecke 2024-09-16 12:39:20 +02:00 committed by GitHub
parent 6a2d31a481
commit dadd397bf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View File

@ -44,7 +44,7 @@ async def _async_connect(**kwargs):
_LOGGER.error("Could not connect to Insteon modem") _LOGGER.error("Could not connect to Insteon modem")
return False return False
_LOGGER.info("Connected to Insteon modem") _LOGGER.debug("Connected to Insteon modem")
return True return True

View File

@ -144,7 +144,7 @@ async def async_setup_entry(
isy_data.net_resources.append(resource) isy_data.net_resources.append(resource)
# Dump ISY Clock Information. Future: Add ISY as sensor to Hass with attrs # 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 isy_data.root = isy
_async_get_or_create_isy_device_in_registry(hass, entry, isy) _async_get_or_create_isy_device_in_registry(hass, entry, isy)

View File

@ -242,7 +242,7 @@ def async_unload_services(hass: HomeAssistant) -> None:
if not existing_services or SERVICE_SEND_PROGRAM_COMMAND not in existing_services: if not existing_services or SERVICE_SEND_PROGRAM_COMMAND not in existing_services:
return 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_PROGRAM_COMMAND)
hass.services.async_remove(domain=DOMAIN, service=SERVICE_SEND_RAW_NODE_COMMAND) hass.services.async_remove(domain=DOMAIN, service=SERVICE_SEND_RAW_NODE_COMMAND)
hass.services.async_remove(domain=DOMAIN, service=SERVICE_SEND_NODE_COMMAND) hass.services.async_remove(domain=DOMAIN, service=SERVICE_SEND_NODE_COMMAND)

View File

@ -85,9 +85,9 @@ async def async_setup_entry(
# Filter out any entities excluded in the config file # Filter out any entities excluded in the config file
if conf and ctrl.device_uid in conf[CONF_EXCLUDE]: 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 return
_LOGGER.info("Controller UID=%s discovered", ctrl.device_uid) _LOGGER.debug("Controller UID=%s discovered", ctrl.device_uid)
device = ControllerDevice(ctrl) device = ControllerDevice(ctrl)
async_add_entities([device]) async_add_entities([device])
@ -245,9 +245,9 @@ class ControllerDevice(ClimateEntity):
return return
if available: if available:
_LOGGER.info("Reconnected controller %s ", self._controller.device_uid) _LOGGER.warning("Reconnected controller %s ", self._controller.device_uid)
else: else:
_LOGGER.info( _LOGGER.warning(
"Controller %s disconnected due to exception: %s", "Controller %s disconnected due to exception: %s",
self._controller.device_uid, self._controller.device_uid,
ex, ex,