<?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 Set a color with &amp;quot;ColorAbsolute&amp;quot; in Smart Home Developer Forum</title>
    <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Set-a-color-with-quot-ColorAbsolute-quot/m-p/611010#M6742</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In Google Automation, I tried to set a color in a script. For that, I used the "ColorAbsolute" command.&lt;/P&gt;&lt;P&gt;OK for the light temperature as explained here :&amp;nbsp;&lt;A href="https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595048#M6487" target="_blank"&gt;https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595048#M6487&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But to set a &lt;STRONG&gt;&lt;EM&gt;color&lt;/EM&gt;&lt;/STRONG&gt;, the only way I found is to tell the name of the color :&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    actions:
      - type: device.command.ColorAbsolute
        color:
          name: blue
        devices: Light 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a bit limited... And I would prefer use an hexadecimal or RGB code to set the exact color I want.&lt;/P&gt;&lt;P&gt;I tried &lt;EM&gt;spectrumHEX&lt;/EM&gt; and &lt;EM&gt;spectrumRGB&lt;/EM&gt; instead of "name", but it doesn't work...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somebody manages to set an HEX code with ColorAbsolute ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 09:01:19 GMT</pubDate>
    <dc:creator>Hollen_ar_mor</dc:creator>
    <dc:date>2024-04-03T09:01:19Z</dc:date>
    <item>
      <title>Set a color with "ColorAbsolute"</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Set-a-color-with-quot-ColorAbsolute-quot/m-p/611010#M6742</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In Google Automation, I tried to set a color in a script. For that, I used the "ColorAbsolute" command.&lt;/P&gt;&lt;P&gt;OK for the light temperature as explained here :&amp;nbsp;&lt;A href="https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595048#M6487" target="_blank"&gt;https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Script-for-color-temperature-command/m-p/595048#M6487&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But to set a &lt;STRONG&gt;&lt;EM&gt;color&lt;/EM&gt;&lt;/STRONG&gt;, the only way I found is to tell the name of the color :&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    actions:
      - type: device.command.ColorAbsolute
        color:
          name: blue
        devices: Light 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a bit limited... And I would prefer use an hexadecimal or RGB code to set the exact color I want.&lt;/P&gt;&lt;P&gt;I tried &lt;EM&gt;spectrumHEX&lt;/EM&gt; and &lt;EM&gt;spectrumRGB&lt;/EM&gt; instead of "name", but it doesn't work...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somebody manages to set an HEX code with ColorAbsolute ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 09:01:19 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Set-a-color-with-quot-ColorAbsolute-quot/m-p/611010#M6742</guid>
      <dc:creator>Hollen_ar_mor</dc:creator>
      <dc:date>2024-04-03T09:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set a color with "ColorAbsolute"</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Set-a-color-with-quot-ColorAbsolute-quot/m-p/611363#M6749</link>
      <description>&lt;P class="p1"&gt;Currently "ColorAbsolute" in Google Assistant Automation doesn't directly support setting colors using hexadecimal or RGB codes. While it works for color names like "blue", it offers limited control for specific color selection.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 18:31:58 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Set-a-color-with-quot-ColorAbsolute-quot/m-p/611363#M6749</guid>
      <dc:creator>arm_dpe</dc:creator>
      <dc:date>2024-04-04T18:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set a color with "ColorAbsolute"</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Set-a-color-with-quot-ColorAbsolute-quot/m-p/611371#M6750</link>
      <description>&lt;P&gt;OK. It's a bit strange, but OK. Overall when I read that :&amp;nbsp;&lt;A href="https://developers.home.google.com/automations/schema/reference/entity/sht_device/color_absolute_command?hl=en" target="_blank"&gt;https://developers.home.google.com/automations/schema/reference/entity/sht_device/color_absolute_command?hl=en&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For those who want to set colors with the command ColorAbsolute, here's the names Google Automation supports :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hollen_ar_mor_0-1712256199593.png" style="width: 400px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/52004i36BA0522CC0B8D14/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Hollen_ar_mor_0-1712256199593.png" alt="Hollen_ar_mor_0-1712256199593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 18:43:29 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Set-a-color-with-quot-ColorAbsolute-quot/m-p/611371#M6750</guid>
      <dc:creator>Hollen_ar_mor</dc:creator>
      <dc:date>2024-04-04T18:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set a color with "ColorAbsolute"</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Set-a-color-with-quot-ColorAbsolute-quot/m-p/625192#M7308</link>
      <description>&lt;P&gt;color white out scam color&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2024 15:12:39 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Set-a-color-with-quot-ColorAbsolute-quot/m-p/625192#M7308</guid>
      <dc:creator>1251</dc:creator>
      <dc:date>2024-06-09T15:12:39Z</dc:date>
    </item>
  </channel>
</rss>

