From f997e88ca01e77db4fa245eb4abfa32b6aa6fd4f Mon Sep 17 00:00:00 2001 From: MichaelDvP <59284019+MichaelDvP@users.noreply.github.com> Date: Fri, 6 Nov 2020 17:13:34 +0100 Subject: [PATCH] nofrost temperature signed --- src/devices/thermostat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/thermostat.h b/src/devices/thermostat.h index 8e949ca69..2fa179193 100644 --- a/src/devices/thermostat.h +++ b/src/devices/thermostat.h @@ -58,7 +58,7 @@ class Thermostat : public EMSdevice { uint8_t heatingtype = EMS_VALUE_UINT_NOTSET; // type of heating: 1 radiator, 2 convectors, 3 floors, 4 room supply uint8_t targetflowtemp = EMS_VALUE_UINT_NOTSET; uint8_t summertemp = EMS_VALUE_UINT_NOTSET; - uint8_t nofrosttemp = EMS_VALUE_UINT_NOTSET; + int8_t nofrosttemp = EMS_VALUE_INT_NOTSET; // signed -20°C to +10°C uint8_t designtemp = EMS_VALUE_UINT_NOTSET; // heating curve design temp at MinExtTemp int8_t offsettemp = EMS_VALUE_INT_NOTSET; // heating curve offest temp at roomtemp signed! uint8_t manualtemp = EMS_VALUE_UINT_NOTSET; @@ -325,4 +325,4 @@ class Thermostat : public EMSdevice { } // namespace emsesp -#endif \ No newline at end of file +#endif