You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i try to set up an easy rule within my openhab 3 installation. It should run every day at an specific time when i've to get up to work.
So it should run all days, that are not at the weekend and not an holiday.
Defining this rule is straight forward until the "not an holiday" condition. The ephemeris condition has an "it's a weekday" condition (which is actually a it't not the weekend) but there is no corresponding possibility for "it's not a holiday / its a working day" or something similar.
It's possible to create an rule to achive the desired behavior - when using an dsl script as an action which has the content
if(!(Ephemeris.isBankHoliday() || Ephemeris.isWeekend())) {
... do something
}
but if done so the new schedule feature is not correct any more.
So my question is, if there is a reason for this missing condition?
The text was updated successfully, but these errors were encountered:
Hey,
i try to set up an easy rule within my openhab 3 installation. It should run every day at an specific time when i've to get up to work.
So it should run all days, that are not at the weekend and not an holiday.
Defining this rule is straight forward until the "not an holiday" condition. The ephemeris condition has an "it's a weekday" condition (which is actually a it't not the weekend) but there is no corresponding possibility for "it's not a holiday / its a working day" or something similar.
It's possible to create an rule to achive the desired behavior - when using an dsl script as an action which has the content
but if done so the new schedule feature is not correct any more.
So my question is, if there is a reason for this missing condition?
The text was updated successfully, but these errors were encountered: