Skip to content

Commit

Permalink
Lowered importance of logger messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ThermIQ committed Jul 2, 2023
1 parent e22c736 commit 9179986
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions custom_components/thermiq_mqtt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions custom_components/thermiq_mqtt/heatpump/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,18 +248,18 @@ 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]}]"
)

if self._dbg is True:
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")



Expand Down

0 comments on commit 9179986

Please sign in to comment.