From 50977ceab98a987ef253dec11703ab718450b082 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 2 Dec 2026 16:06:04 +0100 Subject: [PATCH] Use the action field enums in proliphix (#196066) --- homeassistant/components/proliphix/climate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/proliphix/climate.py b/homeassistant/components/proliphix/climate.py index a489360aac78..5cffaa0a5f94 100644 --- a/homeassistant/components/proliphix/climate.py +++ b/homeassistant/components/proliphix/climate.py @@ -9,11 +9,11 @@ from homeassistant.components.climate import ( PLATFORM_SCHEMA as CLIMATE_PLATFORM_SCHEMA, ClimateEntity, ClimateEntityFeature, + ClimateServiceArgument, HVACAction, HVACMode, ) from homeassistant.const import ( - ATTR_TEMPERATURE, CONF_HOST, CONF_PASSWORD, CONF_USERNAME, @@ -120,6 +120,6 @@ class ProliphixThermostat(ClimateEntity): @override def set_temperature(self, **kwargs: Any) -> None: """Set new target temperature.""" - if (temperature := kwargs.get(ATTR_TEMPERATURE)) is None: + if (temperature := kwargs.get(ClimateServiceArgument.TEMPERATURE)) is None: return self._pdp.setback = temperature