ColorExtractor
The ColorExtractor integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] will extract the predominant color from a given image and apply that color to a target light. Useful as part of an automationAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more].
Configuration
To add the ColorExtractor integration to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select ColorExtractor.
-
Follow the instructions on screen to complete the setup.
List of actions
The ColorExtractor integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] provides the following actions. Each link below opens a dedicated page with examples, parameters, and a step-by-step UI walkthrough.
-
Get predominant color (
color_extractor.get_color) Returns the predominant RGB color found in an image provided by URL or file path. -
Turn on (
color_extractor.turn_on) Sets a light to the predominant color found in an image provided by URL or file path.
For an overview of every action across all integrations, see the actions reference.