<?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: Script for color temperature command in Smart Home Developer Forum</title>
    <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/579446#M5557</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/500239"&gt;@Sir_Rob&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can refer to the documentation available online in regards to &lt;/SPAN&gt;&lt;A href="https://developers.home.google.com/automations/schema" target="_blank"&gt;&lt;SPAN&gt;Automation Script Editor&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;. The documentation provides details about how to create script automation for different device types and scenarios. It also provides sample scripted automation and details about different types of errors and warnings one can get.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2024 23:47:11 GMT</pubDate>
    <dc:creator>sipriyadarshi</dc:creator>
    <dc:date>2024-01-23T23:47:11Z</dc:date>
    <item>
      <title>Script for color temperature command</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/578526#M5525</link>
      <description>&lt;P&gt;I can use the script editor to get lights to turn different colors based on a different dimmer's level, but I can't get them to display a specific white temperature.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm likely not writing the script command correctly, but I can't find clear enough documentation to get me there.&amp;nbsp; Can someone provide an example of a script that works for them?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 15:22:00 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/578526#M5525</guid>
      <dc:creator>Sir_Rob</dc:creator>
      <dc:date>2024-01-21T15:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Script for color temperature command</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/579446#M5557</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/500239"&gt;@Sir_Rob&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can refer to the documentation available online in regards to &lt;/SPAN&gt;&lt;A href="https://developers.home.google.com/automations/schema" target="_blank"&gt;&lt;SPAN&gt;Automation Script Editor&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;. The documentation provides details about how to create script automation for different device types and scenarios. It also provides sample scripted automation and details about different types of errors and warnings one can get.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 23:47:11 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/579446#M5557</guid>
      <dc:creator>sipriyadarshi</dc:creator>
      <dc:date>2024-01-23T23:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Script for color temperature command</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/579483#M5560</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; I read through these documents prior to posting.&amp;nbsp; I can find the instructions for using color temperature as a starter, but everything I try for using it as an action fails with errors.&lt;/P&gt;&lt;P&gt;Here is the example given for the starter:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;starters:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;type: &lt;/SPAN&gt;&lt;SPAN class=""&gt;device.state.ColorSetting&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;device: &lt;/SPAN&gt;&lt;SPAN class=""&gt;My Device &lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;SPAN class=""&gt; Room Name&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;state: &lt;/SPAN&gt;&lt;SPAN class=""&gt;color.colorTemperature&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;is: &lt;/SPAN&gt;&lt;SPAN class=""&gt;2000K&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Can you provide a functional example of an action?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 01:55:52 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/579483#M5560</guid>
      <dc:creator>Sir_Rob</dc:creator>
      <dc:date>2024-01-24T01:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Script for color temperature command</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/580635#M5662</link>
      <description>&lt;P&gt;I'm with the same problem !&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you get to finally work with the color temperature as an action?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 16:20:35 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/580635#M5662</guid>
      <dc:creator>lm_figueiredo</dc:creator>
      <dc:date>2024-01-26T16:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Script for color temperature command</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/580682#M5677</link>
      <description>&lt;P&gt;No, I have not been able to get it to work as an action.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 17:19:25 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/580682#M5677</guid>
      <dc:creator>Sir_Rob</dc:creator>
      <dc:date>2024-01-26T17:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script for color temperature command</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595048#M6487</link>
      <description>&lt;P&gt;This works for me:&lt;/P&gt;&lt;PRE&gt;automations:&lt;BR /&gt;  - starters:&lt;BR /&gt;      # omitted for brevity&lt;BR /&gt;    condition:&lt;BR /&gt;      # omitted for brevity&lt;BR /&gt;    actions:&lt;BR /&gt;      - type: device.command.ColorAbsolute&lt;BR /&gt;        color:&lt;BR /&gt;          temperature: 3500K&lt;BR /&gt;        devices:&lt;BR /&gt;          - Light 1&lt;BR /&gt;          - Light 2&lt;BR /&gt;          - Light 3&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2024 19:18:07 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595048#M6487</guid>
      <dc:creator>holycacao</dc:creator>
      <dc:date>2024-02-10T19:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Script for color temperature command</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595078#M6488</link>
      <description>&lt;P&gt;Thanks. In the meantime I was able to make it work &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2024 22:04:15 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595078#M6488</guid>
      <dc:creator>lm_figueiredo</dc:creator>
      <dc:date>2024-02-10T22:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Script for color temperature command</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595219#M6490</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; I guess the problem was I had not capitalized the "K".&amp;nbsp; Problem solved!&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 14:48:11 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595219#M6490</guid>
      <dc:creator>Sir_Rob</dc:creator>
      <dc:date>2024-02-11T14:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Script for color temperature command</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595223#M6491</link>
      <description>&lt;P&gt;Yeah, that has gotten me several times too. I don’t know why they made it case-sensitive&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 15:05:16 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595223#M6491</guid>
      <dc:creator>holycacao</dc:creator>
      <dc:date>2024-02-11T15:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Script for color temperature command</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/618830#M7122</link>
      <description>&lt;P&gt;Holy cow I've been POURING the internet for a couple hours trying to find out why it wouldn't accept 5000k as an input.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;On one hand it's ridiculous and on the other I guess we gotta accept that we forgot that was the correct notation for Kelvin.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sigh... Thank you for coming back and saying what was wrong. Saved me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 19:17:04 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/618830#M7122</guid>
      <dc:creator>Beekaytoday</dc:creator>
      <dc:date>2024-05-10T19:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script for color temperature command</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/618877#M7123</link>
      <description>&lt;P&gt;I'm glad it helped someone else&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 22:46:18 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/618877#M7123</guid>
      <dc:creator>Sir_Rob</dc:creator>
      <dc:date>2024-05-10T22:46:18Z</dc:date>
    </item>
  </channel>
</rss>

