forked from home-assistant/core
Add selectors to Color Extractor service definitions (#46742)
This commit is contained in:
@@ -1,12 +1,22 @@
|
|||||||
turn_on:
|
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:
|
fields:
|
||||||
color_extract_url:
|
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
|
example: https://www.example.com/images/logo.png
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
color_extract_path:
|
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
|
example: /opt/images/logo.png
|
||||||
entity_id:
|
selector:
|
||||||
description: The entity we want to set our RGB color on.
|
text:
|
||||||
example: "light.living_room_shelves"
|
|
||||||
|
Reference in New Issue
Block a user