Description
The InputValue Struct provides the value data to the input variables defined in the Input Struct.
Examples
The script defines input variables tv
and d1
. And it uses inputValue
to supply the data
value of the input variables.
inputValue:
tv: Google TV - Living Room
d1: 2hour
input:
tv:
metadata:
name:
en: Select a TV
description:
en: Select the TV to start the automation.
selector:
type: device
supportedTypes: TV
d1:
metadata:
name:
en: after how much time to auto turn off the TV
description:
en: after how much time to auto turn off the TV
selector:
type: duration
default: 5min