<?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: Device condition type in Smart Home Developer Forum</title>
    <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Device-condition-type/m-p/623845#M7214</link>
    <description>&lt;P&gt;- type: assistant.event.OkGoogle&lt;BR /&gt;eventData: query&lt;BR /&gt;is: "close the curtains"&lt;BR /&gt;devices: Office speaker - Office&lt;BR /&gt;&lt;BR /&gt;can devs please add a device struct to the&amp;nbsp; assistant.event.OkGoogle event, this will solve this issue.&lt;/P&gt;</description>
    <pubDate>Sat, 01 Jun 2024 01:09:45 GMT</pubDate>
    <dc:creator>beansgum</dc:creator>
    <dc:date>2024-06-01T01:09:45Z</dc:date>
    <item>
      <title>Device condition type</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Device-condition-type/m-p/623223#M7201</link>
      <description>&lt;P&gt;I want to write a script that opens or close a curtain depending on which google nest mini device received the command but I cant seem to find the command type for that, any ideas?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I wrote an example snippet of what I want to achieve those this piece of code isnt valid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;metadata:
  name: Curtain Automation
  description: Opens the curtain in the living room or master bedroom based on your location when you say "Hey Google, open the curtain".

automations:
  starters:
    - type: voice
      phrase: "Hey Google, open the curtain"

  conditions:
    - type: location
      is: Living Room
    - type: location
      is: Master Bedroom

  actions:
    - type: conditional
      condition:
        - type: location
          is: Living Room
      actions:
        - type: device.command.OpenClose
          open: true
          devices: Living Room Curtain
    - type: conditional
      condition:
        - type: location
          is: Master Bedroom
      actions:
        - type: device.command.OpenClose
          open: true
          devices: Master Bedroom Curtain&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 17:02:44 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Device-condition-type/m-p/623223#M7201</guid>
      <dc:creator>beansgum</dc:creator>
      <dc:date>2024-05-28T17:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Device condition type</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Device-condition-type/m-p/623629#M7207</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Google Assistant currently doesn't support a way to directly target the specific Nest Mini device that received the voice command within the Script Editor.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Use a single Nest Mini and assign different phrases to each room.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;For example, for Living Room: "Hey Google, open the living room curtain"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 17:31:14 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Device-condition-type/m-p/623629#M7207</guid>
      <dc:creator>arm_dpe</dc:creator>
      <dc:date>2024-05-30T17:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Device condition type</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Device-condition-type/m-p/623630#M7208</link>
      <description>&lt;P&gt;I dont want to have to specify each room or curtain, english is not my first language and I twist my tongue when prompting long sentences&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 17:34:20 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Device-condition-type/m-p/623630#M7208</guid>
      <dc:creator>beansgum</dc:creator>
      <dc:date>2024-05-30T17:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Device condition type</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Device-condition-type/m-p/623844#M7213</link>
      <description>&lt;P&gt;Whenever I say "Hey Google, turn off the spot light" it sometimes turns off the spot light in another room. Do I have to say "Turn of the living room spot light" while I am currently in the living room because that is a really weird way to prompt&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 00:51:42 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Device-condition-type/m-p/623844#M7213</guid>
      <dc:creator>beansgum</dc:creator>
      <dc:date>2024-06-01T00:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Device condition type</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Device-condition-type/m-p/623845#M7214</link>
      <description>&lt;P&gt;- type: assistant.event.OkGoogle&lt;BR /&gt;eventData: query&lt;BR /&gt;is: "close the curtains"&lt;BR /&gt;devices: Office speaker - Office&lt;BR /&gt;&lt;BR /&gt;can devs please add a device struct to the&amp;nbsp; assistant.event.OkGoogle event, this will solve this issue.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 01:09:45 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Device-condition-type/m-p/623845#M7214</guid>
      <dc:creator>beansgum</dc:creator>
      <dc:date>2024-06-01T01:09:45Z</dc:date>
    </item>
  </channel>
</rss>

