diff --git a/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Ephemeris.java b/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Ephemeris.java index 7955dcf0750..5626ed3b9d1 100644 --- a/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Ephemeris.java +++ b/bundles/org.openhab.core.model.script/src/org/openhab/core/model/script/actions/Ephemeris.java @@ -77,7 +77,7 @@ public static boolean isBankHoliday(ZonedDateTime day) { @ActionDoc(text = "checks if today plus or minus a given offset is bank holiday from a given userfile") public static boolean isBankHoliday(int offset, String filename) { - return isBankHoliday(ZonedDateTime.now().plusDays(offset)); + return isBankHoliday(ZonedDateTime.now().plusDays(offset), filename); } @ActionDoc(text = "checks a given day is bank holiday from a given userfile")