From 0247d01c1faa5f9fb375d11e9dd1ae6d1c9cb767 Mon Sep 17 00:00:00 2001 From: Constantin Pascal Date: Wed, 12 Mar 2025 11:39:12 +0000 Subject: [PATCH] device + temp control --- custom_components/ha_rdz_pdc_config/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/ha_rdz_pdc_config/__init__.py b/custom_components/ha_rdz_pdc_config/__init__.py index e2db850..2b95dba 100755 --- a/custom_components/ha_rdz_pdc_config/__init__.py +++ b/custom_components/ha_rdz_pdc_config/__init__.py @@ -211,14 +211,14 @@ class HeatPumpDataCoordinator(DataUpdateCoordinator): headers={"Content-Type": "application/x-www-form-urlencoded"} ) as response: if response.status != 200: - _LOGGER.error(f"Failed to set water setpoint: {response.status}") + _LOGGER.error(f"Failed to set dhw setpoint: {response.status}") return False - _LOGGER.info(f"Successfully set water setpoint to {temperature}") + _LOGGER.info(f"Successfully set dhw setpoint to {temperature}") # Force an immediate data refresh await self.async_request_refresh() return True except Exception as err: - _LOGGER.error(f"Error setting water setpoint: {err}") + _LOGGER.error(f"Error setting dhw setpoint: {err}") return False class HeatPumpEntity(CoordinatorEntity):