<?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: Multiple Automations using assistant.event.OkGoogle in Home Automation</title>
    <link>https://www.googlenestcommunity.com/t5/Home-Automation/Multiple-Automations-using-assistant-event-OkGoogle/m-p/437262#M18966</link>
    <description>&lt;P&gt;I'm just a user and I just got access to scripts a few days ago but in every example google provided the structure of scripts with several automations is the same:&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name:&lt;BR /&gt;description:&lt;/P&gt;&lt;P&gt;automations:&lt;/P&gt;&lt;P&gt;- starters:&lt;BR /&gt;- type:&lt;/P&gt;&lt;P&gt;condition:&lt;BR /&gt;type:&lt;BR /&gt;&lt;BR /&gt;actions:&lt;BR /&gt;- type:&lt;BR /&gt;I don't think -name: test 2 is the expected structure. You can try this code and see if it works:&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name: Office three&lt;BR /&gt;description: Scripted automation&lt;/P&gt;&lt;P&gt;automations:&lt;BR /&gt;- starters:&lt;BR /&gt;- type: assistant.event.OkGoogle&lt;BR /&gt;eventData: query&lt;BR /&gt;is: "Test Office Off"&lt;/P&gt;&lt;P&gt;actions:&lt;BR /&gt;type: assistant.command.Broadcast&lt;BR /&gt;message: Test 1&lt;BR /&gt;devices: Office speaker - Office&lt;/P&gt;&lt;P&gt;- starters:&lt;BR /&gt;- type: assistant.event.OkGoogle&lt;BR /&gt;eventData: query&lt;BR /&gt;is: "Test Office On"&lt;BR /&gt;actions:&lt;BR /&gt;type: assistant.command.Broadcast&lt;BR /&gt;message: Test 2&lt;BR /&gt;devices: Office speaker - Office&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2023 19:18:34 GMT</pubDate>
    <dc:creator>Bawt</dc:creator>
    <dc:date>2023-06-19T19:18:34Z</dc:date>
    <item>
      <title>Multiple Automations using assistant.event.OkGoogle</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Multiple-Automations-using-assistant-event-OkGoogle/m-p/437092#M18957</link>
      <description>&lt;P&gt;Should this work? I have two starters, both using assistant.event.OkGoogle. Whichever one I place first responds correctly. Trying to invoke the 2nd one just gets me a "bong".&lt;BR /&gt;&lt;BR /&gt;(update. this morning it's not recognizing either one. sometimes playing music!)&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name: Office three&lt;BR /&gt;description: Scripted automation&lt;/P&gt;&lt;P&gt;automations:&lt;BR /&gt;- name: test 1&lt;BR /&gt;starters:&lt;BR /&gt;- type: assistant.event.OkGoogle&lt;BR /&gt;eventData: query&lt;BR /&gt;is: "Test Office Off"&lt;BR /&gt;actions:&lt;BR /&gt;- type: assistant.command.Broadcast&lt;BR /&gt;message: Test 1&lt;BR /&gt;devices: Office speaker - Office&lt;/P&gt;&lt;P&gt;- name: test 2&lt;BR /&gt;starters:&lt;BR /&gt;- type: assistant.event.OkGoogle&lt;BR /&gt;eventData: query&lt;BR /&gt;is: "Test Office On"&lt;BR /&gt;actions:&lt;BR /&gt;- type: assistant.command.Broadcast&lt;BR /&gt;message: Test 2&lt;BR /&gt;devices: Office speaker - Office&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 15:17:18 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Multiple-Automations-using-assistant-event-OkGoogle/m-p/437092#M18957</guid>
      <dc:creator>JohnSta</dc:creator>
      <dc:date>2023-06-19T15:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Automations using assistant.event.OkGoogle</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Multiple-Automations-using-assistant-event-OkGoogle/m-p/437262#M18966</link>
      <description>&lt;P&gt;I'm just a user and I just got access to scripts a few days ago but in every example google provided the structure of scripts with several automations is the same:&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name:&lt;BR /&gt;description:&lt;/P&gt;&lt;P&gt;automations:&lt;/P&gt;&lt;P&gt;- starters:&lt;BR /&gt;- type:&lt;/P&gt;&lt;P&gt;condition:&lt;BR /&gt;type:&lt;BR /&gt;&lt;BR /&gt;actions:&lt;BR /&gt;- type:&lt;BR /&gt;I don't think -name: test 2 is the expected structure. You can try this code and see if it works:&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name: Office three&lt;BR /&gt;description: Scripted automation&lt;/P&gt;&lt;P&gt;automations:&lt;BR /&gt;- starters:&lt;BR /&gt;- type: assistant.event.OkGoogle&lt;BR /&gt;eventData: query&lt;BR /&gt;is: "Test Office Off"&lt;/P&gt;&lt;P&gt;actions:&lt;BR /&gt;type: assistant.command.Broadcast&lt;BR /&gt;message: Test 1&lt;BR /&gt;devices: Office speaker - Office&lt;/P&gt;&lt;P&gt;- starters:&lt;BR /&gt;- type: assistant.event.OkGoogle&lt;BR /&gt;eventData: query&lt;BR /&gt;is: "Test Office On"&lt;BR /&gt;actions:&lt;BR /&gt;type: assistant.command.Broadcast&lt;BR /&gt;message: Test 2&lt;BR /&gt;devices: Office speaker - Office&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 19:18:34 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Multiple-Automations-using-assistant-event-OkGoogle/m-p/437262#M18966</guid>
      <dc:creator>Bawt</dc:creator>
      <dc:date>2023-06-19T19:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Automations using assistant.event.OkGoogle</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Multiple-Automations-using-assistant-event-OkGoogle/m-p/437466#M18986</link>
      <description>&lt;P&gt;Thank you for trying to help.&lt;BR /&gt;&lt;BR /&gt;I've tried it both with and without the - name. No difference. Also, there is an example in their documentation of multiple automations which uses this structure, the only significant difference being that the example is using scheduled events as starters instead of OkGoogle.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 22:48:45 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Multiple-Automations-using-assistant-event-OkGoogle/m-p/437466#M18986</guid>
      <dc:creator>JohnSta</dc:creator>
      <dc:date>2023-06-19T22:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Automations using assistant.event.OkGoogle</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Multiple-Automations-using-assistant-event-OkGoogle/m-p/438563#M19052</link>
      <description>&lt;P&gt;I opened a similar thread a few days ago &lt;A href="https://www.googlenestcommunity.com/t5/Home-Automation/Multiple-automations-in-single-script-sometimes-breaks-when-using-assistant/m-p/436234/highlight/true#M18823" target="_blank"&gt;where a Googler that's active on here said they'll look into it.&lt;/A&gt; Please look at that issue briefly and give it kudos if it's the same. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 06:59:02 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Multiple-Automations-using-assistant-event-OkGoogle/m-p/438563#M19052</guid>
      <dc:creator>Alphabet</dc:creator>
      <dc:date>2023-06-21T06:59:02Z</dc:date>
    </item>
  </channel>
</rss>

