Closed jimtng closed 2 years ago
This just got merged to core: https://github.com/openhab/openhab-core/pull/2923
A trigger that creates a cron schedule based on the date+time in a DateTimeItem. It changes its schedule as the item's state changes.
What would be a good name for the trigger? datetime ?
datetime
Or every can take a DateTimeItem and create this trigger?
every
Of course we can also just use the existingtrigger which is probably the easiest thing to do.
trigger
rule 'x' do trigger 'timer.DateTimeTrigger', itemName: DateTime_Item.name ... end
This just got merged to core: https://github.com/openhab/openhab-core/pull/2923
A trigger that creates a cron schedule based on the date+time in a DateTimeItem. It changes its schedule as the item's state changes.
What would be a good name for the trigger?
datetime
?Or
every
can take a DateTimeItem and create this trigger?Of course we can also just use the existing
trigger
which is probably the easiest thing to do.