mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 13:21:53 +01:00
[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:
parent
eacb019e39
commit
4c9a5aa291
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user