<?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: Starter check met, condition check not in Smart Home Developer Forum</title>
    <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/715012#M8666</link>
    <description>&lt;P&gt;Thanks for clarification. You can skip/remove the condition part since turning off TV in the starter block would trigger light(s) to go off.&lt;/P&gt;
&lt;P&gt;Can you please try the below script and let me if that worked for you:&lt;/P&gt;
&lt;P&gt;metadata:&lt;BR /&gt;name: TVoffLightoff &lt;BR /&gt;description: Light goes off if TV is off&lt;/P&gt;
&lt;P&gt;automations:&lt;BR /&gt;starters:&lt;BR /&gt;- type: device.state.OnOff&lt;BR /&gt;state: on&lt;BR /&gt;is: false&lt;BR /&gt;device: TV - Family Room&lt;/P&gt;
&lt;P&gt;actions:&lt;BR /&gt;- type: device.command.OnOff&lt;BR /&gt;on: false&lt;BR /&gt;devices: Light - Family Room&lt;/P&gt;</description>
    <pubDate>Wed, 30 Apr 2025 14:55:36 GMT</pubDate>
    <dc:creator>arm_dpe</dc:creator>
    <dc:date>2025-04-30T14:55:36Z</dc:date>
    <item>
      <title>Starter check met, condition check not</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/713202#M8654</link>
      <description>&lt;P&gt;I want to use the Condition: of my Google TV On/Off state in Google Home Scripts.&lt;/P&gt;&lt;P&gt;So I have this code:&lt;/P&gt;&lt;P&gt;automations:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;starters:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - type: device.state.OnOff&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device: Panasonic TV - Lounge&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state: on&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is: false&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;condition:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; device: Panasonic TV - Lounge&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; type: device.state.OnOff&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state: on&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is: false&lt;/P&gt;&lt;P&gt;When it is run, I find in the log:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Automation check: conditions not met.&lt;BR /&gt;&amp;nbsp; Starter check: conditions met.&lt;/P&gt;&lt;P&gt;So why is this, i.e. the check is OK to allow the script to run, but the same condition is not met in the script?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 11:35:07 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/713202#M8654</guid>
      <dc:creator>JerryFr</dc:creator>
      <dc:date>2025-04-25T11:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Starter check met, condition check not</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/714582#M8662</link>
      <description>&lt;P&gt;Can you give us more details about this home script? What you are trying to achieve with it?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 18:11:39 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/714582#M8662</guid>
      <dc:creator>arm_dpe</dc:creator>
      <dc:date>2025-04-29T18:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Starter check met, condition check not</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/714946#M8665</link>
      <description>&lt;P&gt;I want to use the&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;condition:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; device: Panasonic TV - Lounge&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; type: device.state.OnOff&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state: on&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is: false&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in other scripts, e.g. turn off lights if (condition) TV is off&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 12:11:16 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/714946#M8665</guid>
      <dc:creator>JerryFr</dc:creator>
      <dc:date>2025-04-30T12:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Starter check met, condition check not</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/715012#M8666</link>
      <description>&lt;P&gt;Thanks for clarification. You can skip/remove the condition part since turning off TV in the starter block would trigger light(s) to go off.&lt;/P&gt;
&lt;P&gt;Can you please try the below script and let me if that worked for you:&lt;/P&gt;
&lt;P&gt;metadata:&lt;BR /&gt;name: TVoffLightoff &lt;BR /&gt;description: Light goes off if TV is off&lt;/P&gt;
&lt;P&gt;automations:&lt;BR /&gt;starters:&lt;BR /&gt;- type: device.state.OnOff&lt;BR /&gt;state: on&lt;BR /&gt;is: false&lt;BR /&gt;device: TV - Family Room&lt;/P&gt;
&lt;P&gt;actions:&lt;BR /&gt;- type: device.command.OnOff&lt;BR /&gt;on: false&lt;BR /&gt;devices: Light - Family Room&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 14:55:36 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/715012#M8666</guid>
      <dc:creator>arm_dpe</dc:creator>
      <dc:date>2025-04-30T14:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Starter check met, condition check not</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/715018#M8667</link>
      <description>&lt;P&gt;I will test your suggestion soon.&lt;/P&gt;&lt;P&gt;But I already have two Starters, -type: device.state.OnOff, and -type: time.schedule(s).&lt;/P&gt;&lt;P&gt;I wish to retain those, hence a Condition seemed the obvious solution.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 15:26:21 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/715018#M8667</guid>
      <dc:creator>JerryFr</dc:creator>
      <dc:date>2025-04-30T15:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Starter check met, condition check not</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/715824#M8683</link>
      <description>&lt;P&gt;Your suggested script did not work. I conclude the the&amp;nbsp;&lt;SPAN&gt;device.state.OnOff for this Panasonic TV is not available as a starter or condition.&amp;nbsp; However, the&amp;nbsp;device.command.OnOff is available.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 May 2025 13:57:31 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Starter-check-met-condition-check-not/m-p/715824#M8683</guid>
      <dc:creator>JerryFr</dc:creator>
      <dc:date>2025-05-03T13:57:31Z</dc:date>
    </item>
  </channel>
</rss>

