<?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: &amp;quot;The value should be [Condition] but is [Array] instead.&amp;quot; in Home Automation</title>
    <link>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/479016#M21952</link>
    <description>&lt;P&gt;I'm rather new to it myself, but I think it might be in the condition part of your routine. If you can post your example it would be easier to say for certain, but you might be missing a&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type: or
conditions:&lt;/LI-CODE&gt;&lt;P&gt;value. In the "conditions:" an array (of conditions, listed with "-") is accepted. I think the regular "condition:" takes only one entry.&lt;/P&gt;&lt;P&gt;Hope it helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Sep 2023 22:24:22 GMT</pubDate>
    <dc:creator>ir0nm8n</dc:creator>
    <dc:date>2023-09-09T22:24:22Z</dc:date>
    <item>
      <title>"The value should be [Condition] but is [Array] instead."</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/478717#M21931</link>
      <description>&lt;P&gt;I keep getting this error when I try to use conditions in routines, even when I'm following the syntax in examples from the Google Developer Center. I'm happy to post some examples, but can anyone explain in general terms what might be causing this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 22:37:14 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/478717#M21931</guid>
      <dc:creator>EllieDave</dc:creator>
      <dc:date>2023-09-08T22:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: "The value should be [Condition] but is [Array] instead."</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/479016#M21952</link>
      <description>&lt;P&gt;I'm rather new to it myself, but I think it might be in the condition part of your routine. If you can post your example it would be easier to say for certain, but you might be missing a&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type: or
conditions:&lt;/LI-CODE&gt;&lt;P&gt;value. In the "conditions:" an array (of conditions, listed with "-") is accepted. I think the regular "condition:" takes only one entry.&lt;/P&gt;&lt;P&gt;Hope it helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Sep 2023 22:24:22 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/479016#M21952</guid>
      <dc:creator>ir0nm8n</dc:creator>
      <dc:date>2023-09-09T22:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: "The value should be [Condition] but is [Array] instead."</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/479286#M21963</link>
      <description>&lt;P&gt;Here's one example (just of the conditions section):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;condition:
    - type: time.between
      before: sunrise
      after: sunset
      weekdays:
        - MON
        - TUE
        - WED
        - THU
        - FRI
        - SAT
        - SUN
      device: Light1 - Living Room
      state: on
      is: true&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 10 Sep 2023 17:54:09 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/479286#M21963</guid>
      <dc:creator>EllieDave</dc:creator>
      <dc:date>2023-09-10T17:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: "The value should be [Condition] but is [Array] instead."</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/479584#M21981</link>
      <description>&lt;P&gt;In addition to&amp;nbsp;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/414465"&gt;@ir0nm8n&lt;/a&gt;'s tip about using the "or" type operator, make sure you've got the "- type: " key for each condition you want to check. You can see an example in our&amp;nbsp;&lt;A href="https://support.google.com/googlenest/answer/13460475#conditions&amp;amp;zippy=%2Cconditions%2Ccondition-operators" target="_self"&gt;help center article&lt;/A&gt;&amp;nbsp;- just be sure to double check your indentation and use the Validate button to check that your script is properly formatted.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 17:42:14 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/479584#M21981</guid>
      <dc:creator>nickfromgoogle</dc:creator>
      <dc:date>2023-09-11T17:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: "The value should be [Condition] but is [Array] instead."</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/479898#M22016</link>
      <description>&lt;P&gt;It's missing "&lt;STRONG&gt;actions&lt;/STRONG&gt;" before "device: Light1..."&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 12:53:17 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/479898#M22016</guid>
      <dc:creator>Hollen_ar_mor</dc:creator>
      <dc:date>2023-09-12T12:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: "The value should be [Condition] but is [Array] instead."</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/568070#M40104</link>
      <description>&lt;P&gt;Did you ever figure this out? I am having the same issue and can’t find a solution. My syntax seems correct but I get this error!&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 19:54:38 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/568070#M40104</guid>
      <dc:creator>Shmageggy</dc:creator>
      <dc:date>2023-12-24T19:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: "The value should be [Condition] but is [Array] instead."</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/568079#M40105</link>
      <description>&lt;P&gt;Never mind! I figured it out. I was using “- type:” but for a single condition (no “s”) you actually use “type:” (no hyphen). I was going insane for a second there!&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 20:41:05 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/quot-The-value-should-be-Condition-but-is-Array-instead-quot/m-p/568079#M40105</guid>
      <dc:creator>Shmageggy</dc:creator>
      <dc:date>2023-12-24T20:41:05Z</dc:date>
    </item>
  </channel>
</rss>

