diff --git a/custom_components/thermiq_mqtt/__init__.py b/custom_components/thermiq_mqtt/__init__.py index 562d3f3..7d96b90 100644 --- a/custom_components/thermiq_mqtt/__init__.py +++ b/custom_components/thermiq_mqtt/__init__.py @@ -32,7 +32,7 @@ async def async_setup(hass, config): """Set up HASL integration""" - _LOGGER.error("Set up ThermIQ-MQTT integration") + _LOGGER.info("Set up ThermIQ-MQTT integration") if DOMAIN not in hass.data: worker = hass.data.setdefault(DOMAIN, ThermIQWorker(hass)) @@ -46,7 +46,7 @@ async def async_migrate_entry(hass, config_entry: ConfigEntry): async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: """Set up component from a config entry, config_entry contains data from config entry database.""" - _LOGGER.error("Set up ThermIQ-MQTT integration entry " + entry.data[CONF_ID]) + _LOGGER.info("Set up ThermIQ-MQTT integration entry " + entry.data[CONF_ID]) # One common ThermIQWorker serves all HeatPump objects if DOMAIN in hass.data: diff --git a/custom_components/thermiq_mqtt/heatpump/__init__.py b/custom_components/thermiq_mqtt/heatpump/__init__.py index bf5db0f..a0e214c 100644 --- a/custom_components/thermiq_mqtt/heatpump/__init__.py +++ b/custom_components/thermiq_mqtt/heatpump/__init__.py @@ -248,7 +248,7 @@ async def update_config(self, entry): self._hpstate["mqtt_counter"] = 0 # Provide some debug info - _LOGGER.error( + _LOGGER.debug( f"INFO: {self._domain}_{self._id} mqtt_node: [{entry.data[CONF_MQTT_NODE]}]" ) @@ -256,10 +256,10 @@ async def update_config(self, entry): self._mqtt_base = self._mqtt_base + "dbg_" _LOGGER.error("INFO: MQTT Debug write enabled") - _LOGGER.error("Language[%s]", self._langid) + _LOGGER.debug("Language[%s]", self._langid) if self._hexFormat == True: - _LOGGER.error("INFO: Using HEX format") + _LOGGER.debug("INFO: Using HEX format")