136 lines
3.2 KiB
YAML
136 lines
3.2 KiB
YAML
load_pages:
|
|
name: Load pages.jsonl
|
|
description: Loads new design from pages.jsonl file from full path. The file must be located in an authorised location defined by allowlist_external_dirs in Home Assistant's main configuration.
|
|
target:
|
|
fields:
|
|
path:
|
|
name: Path
|
|
description: Path to the file containing the plate layout in JSONL format
|
|
required: true
|
|
example: "/config/pages.jsonl"
|
|
selector:
|
|
text:
|
|
|
|
wakeup:
|
|
name: Wakeup
|
|
description: This is helpful e.g. when you want to wake up the display when an external event has occurred, like a presence or PIR motion sensor.
|
|
target:
|
|
|
|
next_page:
|
|
name: Next Page
|
|
description: Changes plate to the next page
|
|
target:
|
|
|
|
prev_page:
|
|
name: Previous Page
|
|
description: Changes plate to the previous page
|
|
target:
|
|
|
|
clear_page:
|
|
name: Clear Page
|
|
description: Clears the contents of the specified page number.
|
|
target:
|
|
fields:
|
|
page:
|
|
name: Page
|
|
description: Page number to clear (if not specified, clear all pages)
|
|
required: false
|
|
selector:
|
|
number:
|
|
min: 1
|
|
max: 12
|
|
|
|
change_page:
|
|
name: Change Page
|
|
description: Changes plate directly to the specified page number.
|
|
target:
|
|
fields:
|
|
page:
|
|
name: Page
|
|
description: Page number to change to
|
|
required: true
|
|
selector:
|
|
number:
|
|
min: 1
|
|
max: 12
|
|
|
|
command:
|
|
name: Command
|
|
description: Sends commands directly to the plate entity (as a wrapper for MQTT commands sent to hasp/<nodename>/command)
|
|
target:
|
|
fields:
|
|
keyword:
|
|
name: Keyword
|
|
description: Command keyword.
|
|
required: true
|
|
example: "backlight"
|
|
selector:
|
|
text:
|
|
parameters:
|
|
name: Parameters
|
|
description: The parameters of the command.
|
|
required: false
|
|
example: "off"
|
|
selector:
|
|
text:
|
|
|
|
config:
|
|
name: Configuration
|
|
description: Sends configuration commands to plate entity (as a wrapper for MQTT commands sent to hasp/<nodename>/config/submodule)
|
|
target:
|
|
fields:
|
|
submodule:
|
|
name: submodule
|
|
description: The submodule we intend to configure.
|
|
required: true
|
|
example: 'gui'
|
|
selector:
|
|
text:
|
|
parameters:
|
|
name: Parameters
|
|
description: The parameters of the configuration setting.
|
|
required: true
|
|
example: '{"idle2":180}'
|
|
selector:
|
|
text:
|
|
|
|
push_image:
|
|
name: Push Image
|
|
description: Change the src image of an img object.
|
|
target:
|
|
fields:
|
|
image:
|
|
name: Image
|
|
description: URL or Full Path of an image
|
|
required: true
|
|
example: "https://people.sc.fsu.edu/~jburkardt/data/jpg/lena.jpg"
|
|
selector:
|
|
text:
|
|
obj:
|
|
name: Object
|
|
description: Object ID in the format p#b##
|
|
required: true
|
|
example: "p1b10"
|
|
selector:
|
|
text:
|
|
width:
|
|
name: Width
|
|
description: Resize to width
|
|
required: false
|
|
example: "128"
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 1280
|
|
mode: box
|
|
height:
|
|
name: Height
|
|
description: Resize to height
|
|
required: false
|
|
example: "128"
|
|
selector:
|
|
number:
|
|
min: 0
|
|
max: 1024
|
|
mode: box
|