<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to set the thermostatTemperatureRange with different mode? in Smart Home Developer Forum</title>
    <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/How-to-set-the-thermostatTemperatureRange-with-different-mode/m-p/783864#M12200</link>
    <description>&lt;P&gt;Thanks for reaching out.&amp;nbsp;&lt;SPAN&gt;The Google Smart Home &lt;/SPAN&gt;&lt;SPAN&gt;TemperatureSetting&lt;/SPAN&gt;&lt;SPAN&gt; trait currently defines &lt;/SPAN&gt;&lt;SPAN&gt;thermostatTemperatureRange&lt;/SPAN&gt;&lt;SPAN&gt; as a static attribute in the SYNC response. It does not natively support dynamic UI "clipping" (hiding or graying out numbers) based on whether the device is currently in Heat or Cool mode. The industry-standard "workaround" is to combine &lt;/SPAN&gt;&lt;STRONG&gt;broad SYNC attributes&lt;/STRONG&gt;&lt;SPAN&gt; with &lt;/SPAN&gt;&lt;STRONG&gt;strict EXECUTE logic.&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;You set the full possible range in the SYNC response so the UI supports all potential values, then you "limit" the input on your backend:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SYNC Response&lt;/STRONG&gt;&lt;SPAN&gt;: Set &lt;/SPAN&gt;&lt;SPAN&gt;thermostatTemperatureRange&lt;/SPAN&gt;&lt;SPAN&gt; to the absolute minimum and maximum: &lt;/SPAN&gt;&lt;STRONG&gt;7&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;33.5&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;EXECUTE Logic&lt;/STRONG&gt;&lt;SPAN&gt;: When a user sends a &lt;/SPAN&gt;&lt;SPAN&gt;ThermostatTemperatureSetpoint&lt;/SPAN&gt;&lt;SPAN&gt; command:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;If mode is HEAT&lt;/STRONG&gt;&lt;SPAN&gt;: Check if the requested value is between &lt;/SPAN&gt;&lt;STRONG&gt;7–26&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;If mode is COOL&lt;/STRONG&gt;&lt;SPAN&gt;: Check if the requested value is between &lt;/SPAN&gt;&lt;STRONG&gt;18.5–33.5&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;The Workaround (Error Feedback)&lt;/STRONG&gt;&lt;SPAN&gt;: If the value is invalid for that mode, return a &lt;/SPAN&gt;&lt;A href="https://developers.home.google.com/cloud-to-cloud/traits/temperaturesetting#related-errors" target="_blank"&gt;&lt;SPAN&gt;valueOutOfRange&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; error. Google Home will then show a message to the user (e.g., &lt;/SPAN&gt;&lt;I&gt;&lt;SPAN&gt;"Value out of range"&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;), which effectively teaches them the limits of that mode.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jan 2026 20:55:52 GMT</pubDate>
    <dc:creator>arm_dpe</dc:creator>
    <dc:date>2026-01-15T20:55:52Z</dc:date>
    <item>
      <title>How to set the thermostatTemperatureRange with different mode?</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/How-to-set-the-thermostatTemperatureRange-with-different-mode/m-p/783688#M12192</link>
      <description>&lt;P&gt;Hi, our device is a HVAC type device.&lt;/P&gt;&lt;P&gt;For the key&amp;nbsp;&lt;SPAN&gt;thermostatTemperatureRange, there are two points to set:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;maxThresholdCelsius,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;minThresholdCelsius.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But here comes a issue:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In HEAT mode, our device can support 7~26. In Cool mode, our device can support 18.5~33.5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should I set the thermostatTemperatureRange with 7, 33.5? If so, when the users adjust the temperature on Google Home App, the temperature range&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;will be 7~33.5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Actually, in cool mode, users cannot set the target temperature under 18.5. In heat mode, users cannot set the target temperature greater than 26.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 02:49:57 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/How-to-set-the-thermostatTemperatureRange-with-different-mode/m-p/783688#M12192</guid>
      <dc:creator>tracyhenryduck</dc:creator>
      <dc:date>2026-01-15T02:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the thermostatTemperatureRange with different mode?</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/How-to-set-the-thermostatTemperatureRange-with-different-mode/m-p/783864#M12200</link>
      <description>&lt;P&gt;Thanks for reaching out.&amp;nbsp;&lt;SPAN&gt;The Google Smart Home &lt;/SPAN&gt;&lt;SPAN&gt;TemperatureSetting&lt;/SPAN&gt;&lt;SPAN&gt; trait currently defines &lt;/SPAN&gt;&lt;SPAN&gt;thermostatTemperatureRange&lt;/SPAN&gt;&lt;SPAN&gt; as a static attribute in the SYNC response. It does not natively support dynamic UI "clipping" (hiding or graying out numbers) based on whether the device is currently in Heat or Cool mode. The industry-standard "workaround" is to combine &lt;/SPAN&gt;&lt;STRONG&gt;broad SYNC attributes&lt;/STRONG&gt;&lt;SPAN&gt; with &lt;/SPAN&gt;&lt;STRONG&gt;strict EXECUTE logic.&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;You set the full possible range in the SYNC response so the UI supports all potential values, then you "limit" the input on your backend:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SYNC Response&lt;/STRONG&gt;&lt;SPAN&gt;: Set &lt;/SPAN&gt;&lt;SPAN&gt;thermostatTemperatureRange&lt;/SPAN&gt;&lt;SPAN&gt; to the absolute minimum and maximum: &lt;/SPAN&gt;&lt;STRONG&gt;7&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;33.5&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;EXECUTE Logic&lt;/STRONG&gt;&lt;SPAN&gt;: When a user sends a &lt;/SPAN&gt;&lt;SPAN&gt;ThermostatTemperatureSetpoint&lt;/SPAN&gt;&lt;SPAN&gt; command:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;If mode is HEAT&lt;/STRONG&gt;&lt;SPAN&gt;: Check if the requested value is between &lt;/SPAN&gt;&lt;STRONG&gt;7–26&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;STRONG&gt;If mode is COOL&lt;/STRONG&gt;&lt;SPAN&gt;: Check if the requested value is between &lt;/SPAN&gt;&lt;STRONG&gt;18.5–33.5&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;The Workaround (Error Feedback)&lt;/STRONG&gt;&lt;SPAN&gt;: If the value is invalid for that mode, return a &lt;/SPAN&gt;&lt;A href="https://developers.home.google.com/cloud-to-cloud/traits/temperaturesetting#related-errors" target="_blank"&gt;&lt;SPAN&gt;valueOutOfRange&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; error. Google Home will then show a message to the user (e.g., &lt;/SPAN&gt;&lt;I&gt;&lt;SPAN&gt;"Value out of range"&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;), which effectively teaches them the limits of that mode.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 20:55:52 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/How-to-set-the-thermostatTemperatureRange-with-different-mode/m-p/783864#M12200</guid>
      <dc:creator>arm_dpe</dc:creator>
      <dc:date>2026-01-15T20:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to set the thermostatTemperatureRange with different mode?</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/How-to-set-the-thermostatTemperatureRange-with-different-mode/m-p/783952#M12204</link>
      <description>&lt;P&gt;I got it, thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2026 06:41:07 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/How-to-set-the-thermostatTemperatureRange-with-different-mode/m-p/783952#M12204</guid>
      <dc:creator>tracyhenryduck</dc:creator>
      <dc:date>2026-01-16T06:41:07Z</dc:date>
    </item>
  </channel>
</rss>

