[Automation] GenericCronTrigger (#622)

A cron trigger module is actually not that "Generic" and a useful trigger type for a lot of rules.

Therefore I suggest to remove the visibility "HIDDEN" with this PR.
I have also added a context "cronexpression" to the TEXT configuration value, so that UI's can offer a cron expression
selection widget.
(we currently have: 'time','item','script','channel','dayOfWeek','rule')

Signed-off-by: davidgraeff <david.graeff@web.de>
This commit is contained in:
David Gräff 2019-03-05 06:46:48 +01:00 committed by Markus Rathgeb
parent eacb019e39
commit 4c9a5aa291

View File

@ -4,11 +4,11 @@
"uid":"timer.GenericCronTrigger",
"label":"Cron Trigger",
"description":"This triggers a rule based on a cron expression",
"visibility":"HIDDEN",
"configDescriptions":[
{
"name":"cronExpression",
"type":"TEXT",
"context":"cronexpression",
"label":"cron expression",
"description":"the cron expression",
"required":true