<?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: How to use variables in script editor? in Home Automation</title>
    <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/675785#M51583</link>
    <description>&lt;P&gt;I agree, I'd like to create a variable based on the difference in temperature between two sensors and automate on that value, I can't believe it should be that difficult to implement.&lt;/P&gt;</description>
    <pubDate>Sat, 08 Feb 2025 23:55:47 GMT</pubDate>
    <dc:creator>JohnF1</dc:creator>
    <dc:date>2025-02-08T23:55:47Z</dc:date>
    <item>
      <title>How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/435895#M18769</link>
      <description>&lt;P&gt;I am using new script editor for automation. My goal is to get a part of the `eventData` in&amp;nbsp;`assistant.event.OkGoogle` as a variable, but couldn't get it to work. I couldn't really find a complete example of variables being used.&lt;/P&gt;&lt;P&gt;Can you share a complete script where a variable is defined and used only with `assistant.event.OkGoogle` starter and `assistant.command.Broadcast` action for simplicity?&lt;/P&gt;&lt;P&gt;I'm not sure if this is even possible. Having a complete example of variable usage in documentation can make it clear their capabilities.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2023 16:29:56 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/435895#M18769</guid>
      <dc:creator>Ula</dc:creator>
      <dc:date>2023-06-17T16:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/435898#M18770</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/374895"&gt;@Ula&lt;/a&gt;&amp;nbsp;- thanks for your question. Variables are not yet supported in the script editor but I would encourage you to vote on the relevant idea in &lt;A href="https://www.googlenestcommunity.com/t5/Home-Automation/Script-Editor-Share-your-ideas-and-vote-on-others-ideas/td-p/435571" target="_blank" rel="noopener"&gt;this thread&lt;/A&gt; where other users are also suggesting similar ideas.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2023 16:41:18 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/435898#M18770</guid>
      <dc:creator>Prafulla</dc:creator>
      <dc:date>2023-06-17T16:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/435899#M18771</link>
      <description>&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;Just to be clear, I can see variables are documented &lt;A href="https://developers.home.google.com/automations/schema/basics#variables" target="_self"&gt;here&lt;/A&gt;. Are they not supported for cases like mine, or not supported at all?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2023 16:49:17 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/435899#M18771</guid>
      <dc:creator>Ula</dc:creator>
      <dc:date>2023-06-17T16:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/435904#M18774</link>
      <description>&lt;P&gt;Yes, variables are in early stages of implementation. We will update our documented examples when they are fully available. Your use case of dynamically storing part of `eventData` in a variable is not yet supported.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jun 2023 17:03:04 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/435904#M18774</guid>
      <dc:creator>Prafulla</dc:creator>
      <dc:date>2023-06-17T17:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/487165#M22629</link>
      <description>&lt;P&gt;Any update on when the documentation might be ready? I'm keen to use variables. I want to use one to create a reference to a device (so I can change the device assigned to the variable and then use the variable throughout the script. Saves having to change every occurance of the device name. But I can't see how to assign a value to the variable , specifically a device.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 09:39:02 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/487165#M22629</guid>
      <dc:creator>Zappos</dc:creator>
      <dc:date>2023-10-03T09:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/487910#M22686</link>
      <description>&lt;P&gt;yeah +1, any timeline that can be provided?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 01:08:16 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/487910#M22686</guid>
      <dc:creator>herbert5812</dc:creator>
      <dc:date>2023-10-05T01:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/489235#M22799</link>
      <description>&lt;P&gt;&lt;A href="https://developers.home.google.com/automations/schema/basics#struct" target="_blank"&gt;https://developers.home.google.com/automations/schema/basics#variables&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can find variables in your documentation - but for me it does not work yet. Is this feature activated at all?&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2023 21:35:56 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/489235#M22799</guid>
      <dc:creator>benet</dc:creator>
      <dc:date>2023-10-08T21:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/563131#M38732</link>
      <description>&lt;P&gt;It looks like the documentation about variables only shows how they can be defined, and have default values, but there is no example as to how to assign a value to a variable, say from a value we got from a sensor. Is it ready at all? Any update would be appreciated. Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2023 04:34:48 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/563131#M38732</guid>
      <dc:creator>cchien</dc:creator>
      <dc:date>2023-12-16T04:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/662393#M50299</link>
      <description>&lt;P&gt;Is there any update on this topic&amp;nbsp;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/369219"&gt;@Prafulla&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 14:14:43 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/662393#M50299</guid>
      <dc:creator>bvelte</dc:creator>
      <dc:date>2024-12-11T14:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/666580#M50638</link>
      <description>&lt;P&gt;Yes any ETA on variables &lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/369219"&gt;@Prafulla&lt;/a&gt;? That would be a game changer&lt;STRONG&gt;feature!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 07:38:01 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/666580#M50638</guid>
      <dc:creator>coneos</dc:creator>
      <dc:date>2025-01-02T07:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/674754#M51401</link>
      <description>&lt;P&gt;I would be very grateful if variables were to be introduced. Otherwise I can't compare two values like thermostat set temperature with thermometer measured temperature which would be very useful.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 08:34:00 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/674754#M51401</guid>
      <dc:creator>iNfeRuS4</dc:creator>
      <dc:date>2025-02-05T08:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/675785#M51583</link>
      <description>&lt;P&gt;I agree, I'd like to create a variable based on the difference in temperature between two sensors and automate on that value, I can't believe it should be that difficult to implement.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2025 23:55:47 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/675785#M51583</guid>
      <dc:creator>JohnF1</dc:creator>
      <dc:date>2025-02-08T23:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/719395#M55561</link>
      <description>&lt;P&gt;Two years later and no timeline even?&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 21:35:01 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/719395#M55561</guid>
      <dc:creator>rutty1</dc:creator>
      <dc:date>2025-05-23T21:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use variables in script editor?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/799681#M63518</link>
      <description>&lt;P&gt;How are variables not a thing yet?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 00:11:38 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/How-to-use-variables-in-script-editor/m-p/799681#M63518</guid>
      <dc:creator>jakobareed</dc:creator>
      <dc:date>2026-04-06T00:11:38Z</dc:date>
    </item>
  </channel>
</rss>

