mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +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")
|
_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
|
||||||
|
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user