mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Add selectors to Color Extractor service definitions (#46742)
This commit is contained in:
parent
cd6a83f009
commit
e57bfe05d5
@ -1,12 +1,22 @@
|
||||
turn_on:
|
||||
description: Set the light RGB to the predominant color found in the image provided by URL or file path.
|
||||
description:
|
||||
Set the light RGB to the predominant color found in the image provided by
|
||||
URL or file path
|
||||
target:
|
||||
fields:
|
||||
color_extract_url:
|
||||
description: The URL of the image we want to extract RGB values from. Must be allowed in allowlist_external_urls.
|
||||
name: URL
|
||||
description:
|
||||
The URL of the image we want to extract RGB values from. Must be allowed
|
||||
in allowlist_external_urls.
|
||||
example: https://www.example.com/images/logo.png
|
||||
selector:
|
||||
text:
|
||||
color_extract_path:
|
||||
description: The full system path to the image we want to extract RGB values from. Must be allowed in allowlist_external_dirs.
|
||||
name: Path
|
||||
description:
|
||||
The full system path to the image we want to extract RGB values from.
|
||||
Must be allowed in allowlist_external_dirs.
|
||||
example: /opt/images/logo.png
|
||||
entity_id:
|
||||
description: The entity we want to set our RGB color on.
|
||||
example: "light.living_room_shelves"
|
||||
selector:
|
||||
text:
|
||||
|
Loading…
x
Reference in New Issue
Block a user