[js] Added 'ConfigOptionProvider' to provide filenames ending with '.js' in Profile configuration (#9646)
* Added ConfigOptionProvider to provide file names ending with '.js' in Profile configuration Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
committed by
GitHub
parent
ceb119b02c
commit
25947bfa9d
@@ -9,8 +9,9 @@
|
||||
<label>JavaScript Filename</label>
|
||||
<description>Filename of the JavaScript in the transform folder. The state will be available in the variable
|
||||
\"input\".</description>
|
||||
<limitToOptions>false</limitToOptions>
|
||||
</parameter>
|
||||
<parameter name="sourceFormat" type="text" required="false">
|
||||
<parameter name="sourceFormat" type="text">
|
||||
<label>State Formatter</label>
|
||||
<description>How to format the state on the channel before transforming it, i.e. %s or %.1f °C (default is %s)</description>
|
||||
<advanced>true</advanced>
|
||||
|
||||
Reference in New Issue
Block a user