|
|
@@ -300,7 +300,12 @@ class TuyaLocalClimate(TuyaLocalEntity, ClimateEntity):
|
|
|
try:
|
|
|
return HVACAction(action) if action else None
|
|
|
except ValueError:
|
|
|
- _LOGGER.warning("Unrecognised HVAC Action %s ignored", action)
|
|
|
+ _LOGGER.warning(
|
|
|
+ "%s/%s: Unrecognised HVAC Action %s ignored",
|
|
|
+ self._config._device.config,
|
|
|
+ self.name or "climate",
|
|
|
+ action,
|
|
|
+ )
|
|
|
return None
|
|
|
|
|
|
@property
|
|
|
@@ -312,7 +317,12 @@ class TuyaLocalClimate(TuyaLocalEntity, ClimateEntity):
|
|
|
try:
|
|
|
return HVACMode(hvac_mode) if hvac_mode else None
|
|
|
except ValueError:
|
|
|
- _LOGGER.warning("Unrecognised HVAC Mode of %s ignored", hvac_mode)
|
|
|
+ _LOGGER.warning(
|
|
|
+ "%s/%s: Unrecognised HVAC Mode of %s ignored",
|
|
|
+ self._config._device.config,
|
|
|
+ self.name or "climate",
|
|
|
+ hvac_mode,
|
|
|
+ )
|
|
|
return None
|
|
|
|
|
|
@property
|