<?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 functionNotSupported in QUERY request in Smart Home Developer Forum</title>
    <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/functionNotSupported-in-QUERY-request/m-p/625549#M7310</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i'm integrating a heater in google home. Depending on the model, the heater can have onOff control and power percentage control&amp;nbsp; (which i mapped to the fanSpeed trait).&lt;/P&gt;&lt;P&gt;Unfortunately the device does not support temperature setpoint reading or setting.&lt;/P&gt;&lt;P&gt;The heater device type requires the support of the TemperatureSetting trait, which is therefore unavailable.&lt;/P&gt;&lt;P&gt;The documentation (&lt;A href="https://developers.home.google.com/cloud-to-cloud/guides/heater" target="_blank"&gt;https://developers.home.google.com/cloud-to-cloud/guides/heater&lt;/A&gt;) suggests to return&amp;nbsp;&lt;SPAN&gt;functionNotSupported&amp;nbsp;&lt;/SPAN&gt;when executing commands that are related to that trait. Following the error guide, that seems to be straightforward and i've already implemented it.&lt;/P&gt;&lt;P&gt;The documentation also suggests to return&amp;nbsp;&lt;SPAN&gt;functionNotSupported when answering a QUERY, but it's not clear how i would do that as there seems to be no way to refer the error to a particular trait or attribute.&lt;BR /&gt;How should i proceed?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 16:23:08 GMT</pubDate>
    <dc:creator>simone-moku</dc:creator>
    <dc:date>2024-06-11T16:23:08Z</dc:date>
    <item>
      <title>functionNotSupported in QUERY request</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/functionNotSupported-in-QUERY-request/m-p/625549#M7310</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i'm integrating a heater in google home. Depending on the model, the heater can have onOff control and power percentage control&amp;nbsp; (which i mapped to the fanSpeed trait).&lt;/P&gt;&lt;P&gt;Unfortunately the device does not support temperature setpoint reading or setting.&lt;/P&gt;&lt;P&gt;The heater device type requires the support of the TemperatureSetting trait, which is therefore unavailable.&lt;/P&gt;&lt;P&gt;The documentation (&lt;A href="https://developers.home.google.com/cloud-to-cloud/guides/heater" target="_blank"&gt;https://developers.home.google.com/cloud-to-cloud/guides/heater&lt;/A&gt;) suggests to return&amp;nbsp;&lt;SPAN&gt;functionNotSupported&amp;nbsp;&lt;/SPAN&gt;when executing commands that are related to that trait. Following the error guide, that seems to be straightforward and i've already implemented it.&lt;/P&gt;&lt;P&gt;The documentation also suggests to return&amp;nbsp;&lt;SPAN&gt;functionNotSupported when answering a QUERY, but it's not clear how i would do that as there seems to be no way to refer the error to a particular trait or attribute.&lt;BR /&gt;How should i proceed?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 16:23:08 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/functionNotSupported-in-QUERY-request/m-p/625549#M7310</guid>
      <dc:creator>simone-moku</dc:creator>
      <dc:date>2024-06-11T16:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: functionNotSupported in QUERY request</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/functionNotSupported-in-QUERY-request/m-p/625583#M7311</link>
      <description>&lt;P&gt;Thanks for bringing this up.&amp;nbsp;You can return a functionNotSupported error and&lt;BR /&gt;customize the error message to inform users that the temperature control functionality is not available for this device.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example,&lt;/P&gt;
&lt;P&gt;"commands": [&lt;BR /&gt;{&lt;BR /&gt;"ids": ["heater1"],&lt;BR /&gt;"status": "ERROR",&lt;BR /&gt;"errorCode": "functionNotSupported",&lt;BR /&gt;"debugString": "Temperature control is not supported for this device. Use on/off and fan speed adjustments only."&lt;BR /&gt;}&lt;BR /&gt;Please refer to this &lt;A href="https://developers.home.google.com/cloud-to-cloud/intents/errors-exceptions#query_response" target="_self"&gt;link &lt;/A&gt;for additional information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 18:19:48 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/functionNotSupported-in-QUERY-request/m-p/625583#M7311</guid>
      <dc:creator>arm_dpe</dc:creator>
      <dc:date>2024-06-11T18:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: functionNotSupported in QUERY request</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/functionNotSupported-in-QUERY-request/m-p/625670#M7313</link>
      <description>&lt;P&gt;Thanks for the fast and detailed response. I will implement that as well.&lt;/P&gt;&lt;P&gt;Unfortunately though, it's still not clear how i would implement that in response to a query.&lt;/P&gt;&lt;P&gt;The certification team rejected my submission because I don't implement these states:&lt;BR /&gt;&lt;FONT color="#333333"&gt;&lt;STRONG&gt;"thermostatTemperatureAmbient"&lt;/STRONG&gt; and &lt;STRONG&gt;"thermostatTemperatureSetpoint "&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;But I can't implement them as the device doesn't support that and can't seem to have any way of reporting the functionNotSupported error without having all the device be considered in a fault state.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;How should i proceed?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 09:15:53 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/functionNotSupported-in-QUERY-request/m-p/625670#M7313</guid>
      <dc:creator>simone-moku</dc:creator>
      <dc:date>2024-06-12T09:15:53Z</dc:date>
    </item>
  </channel>
</rss>

