From 7251d62035c17d9c0962514f9fc1897bc8b158e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Villagra?= Date: Tue, 2 Nov 2021 16:57:30 +0000 Subject: [PATCH] use _LOGGER Co-authored-by: Jelle Spijker --- custom_components/localtuya/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/localtuya/climate.py b/custom_components/localtuya/climate.py index 3410deb..7c3d3f1 100644 --- a/custom_components/localtuya/climate.py +++ b/custom_components/localtuya/climate.py @@ -179,7 +179,7 @@ class LocaltuyaClimate(LocalTuyaEntity, ClimateEntity): self._conf_eco_dp = self._config.get(CONF_ECO_DP) self._conf_eco_value = self._config.get(CONF_ECO_VALUE, "ECO") self._has_presets = self.has_config(CONF_ECO_DP) or self.has_config(CONF_PRESET_DP) - print("Initialized climate [{}]".format(self.name)) + _LOGGER.debug(f"Initialized climate [{self.name}]") @property def supported_features(self):