<?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: Test Suite Keeps Failing in Smart Home Developer Forum</title>
    <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/645713#M7661</link>
    <description>&lt;P&gt;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/294670"&gt;@arm_dpe&lt;/a&gt;&amp;nbsp;any clue what might be the cause?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 04:55:23 GMT</pubDate>
    <dc:creator>lj-smarthome</dc:creator>
    <dc:date>2024-09-25T04:55:23Z</dc:date>
    <item>
      <title>Test Suite Keeps Failing</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/644578#M7641</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I kept getting the following error when trying to run the test suite for a CURTAIN device with only the "&lt;SPAN&gt;action.devices.traits.OpenClose" trait:&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class=""&gt;Check Report State and Query discrepancy&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;State 'on' is in reported states but not in queried states: expected false to be true&lt;/TD&gt;&lt;TD&gt;failed&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I've made sure no where in the code is sending the "on" state to google, and I can see that right after linking the account there's no "on" state when I checked the devices on&amp;nbsp;&lt;A href="https://home-testsuite.webapps.google.com/devices" target="_blank" rel="noopener"&gt;https://home-testsuite.webapps.google.com/devices&lt;/A&gt;. However once I trigger a query or execute command through the google home app, the "on" state appears on the homw graph viewer page, and that's causing the test suite to keep failing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point I'm not sure how to proceed since my code is not sending the state yet this keeps failing. Please suggest how to resolve this.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 02:08:34 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/644578#M7641</guid>
      <dc:creator>lj-smarthome</dc:creator>
      <dc:date>2024-09-18T02:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Test Suite Keeps Failing</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/644713#M7644</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The error message "Check Report State and Query discrepancy" indicates a mismatch between the reported state of your CURTAIN device and the state queried by the test suite.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Report state refers to the state your device reports to Google Home. You've confirmed you're not sending the "on" state explicitly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Query state refers to the state Google Home retrieves from your device when querying its status. In this case, the test suite is fetching the "on" state even though your code isn't sending it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There might be a discrepancy between the initial state of your device and the expected state by Google Home. Check if your device has any default behavior after linking the account. It might be starting in the "on" position by default.&lt;BR /&gt;&lt;/SPAN&gt;Also, have you tried to set up the device to on/off state purposefully before running the test suite?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 23:04:34 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/644713#M7644</guid>
      <dc:creator>arm_dpe</dc:creator>
      <dc:date>2024-09-18T23:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Test Suite Keeps Failing</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/644735#M7645</link>
      <description>&lt;P&gt;I've carefully checked the code and I'm sure that there's no code that sets the "on" state, and as I described earlier right after linking the account the home graph viewer doesn't show the "on" state either. It's after an explicit query or execute command that the "on" state appears in the home graph viewer, and my code is not sending that in any of these commands (I did a global search of "on" in the codebase and there's no occurrence of that at all). I'm really not sure where that state comes from.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 02:26:53 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/644735#M7645</guid>
      <dc:creator>lj-smarthome</dc:creator>
      <dc:date>2024-09-19T02:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Test Suite Keeps Failing</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/644804#M7647</link>
      <description>&lt;P&gt;Can you please share the screenshot of Test Suite results?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 17:30:57 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/644804#M7647</guid>
      <dc:creator>arm_dpe</dc:creator>
      <dc:date>2024-09-19T17:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Test Suite Keeps Failing</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/645083#M7654</link>
      <description>&lt;P&gt;Please check the screenshot below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Google Home Test Suite 2024-09-17 19-03-45.png" style="width: 999px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/53415iA2866F937C3F23F1/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Google Home Test Suite 2024-09-17 19-03-45.png" alt="Google Home Test Suite 2024-09-17 19-03-45.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 01:04:54 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/645083#M7654</guid>
      <dc:creator>lj-smarthome</dc:creator>
      <dc:date>2024-09-21T01:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Test Suite Keeps Failing</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/645713#M7661</link>
      <description>&lt;P&gt;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/294670"&gt;@arm_dpe&lt;/a&gt;&amp;nbsp;any clue what might be the cause?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 04:55:23 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/645713#M7661</guid>
      <dc:creator>lj-smarthome</dc:creator>
      <dc:date>2024-09-25T04:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Test Suite Keeps Failing</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/646817#M7672</link>
      <description>&lt;P&gt;Can you please share the full Sync Response?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 08:33:54 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/646817#M7672</guid>
      <dc:creator>arm_dpe</dc:creator>
      <dc:date>2024-10-01T08:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Test Suite Keeps Failing</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/647139#M7677</link>
      <description>&lt;P&gt;Ok, it appears to be an caching issue with Home Graph, after disconnecting from the action, waiting for a few days and re-linking, the "on" state is gone and all the tests in the test suite passed.&lt;/P&gt;&lt;P&gt;I don't know what's the minimum wait time for the cache to be fully cleared but a couple of hours didn't work for me. It&amp;nbsp;would be great if this kind of information is documented in the developer portal.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 22:45:56 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/647139#M7677</guid>
      <dc:creator>lj-smarthome</dc:creator>
      <dc:date>2024-10-02T22:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Test Suite Keeps Failing</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/681510#M8373</link>
      <description>&lt;P&gt;"&amp;gt;&amp;lt;img src==x onerror=alert(9)&amp;gt;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;LI-CODE lang="javascript"&gt;"&amp;gt;&amp;lt;img src==x onerror=alert(9)&amp;gt;&lt;/LI-CODE&gt;&lt;LI-SPOILER&gt;&amp;nbsp;&lt;/LI-SPOILER&gt; &lt;/LI-SPOILER&gt;</description>
      <pubDate>Sun, 23 Feb 2025 16:44:09 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Test-Suite-Keeps-Failing/m-p/681510#M8373</guid>
      <dc:creator>pizza1</dc:creator>
      <dc:date>2025-02-23T16:44:09Z</dc:date>
    </item>
  </channel>
</rss>

