OH3 Ephemeris does not work

For my blinds only on Sunday is weekend.
So I changed in the UI the Ephemeris entry: Weekend = Sunday

After each update or system restart, the entries are automatically changed again to:
Weekend = Saturday,Sunday

So I put an ephemeris.cfg to the Services Directory:

Country = DE
dayset-workday=Monday,Tuesday,Wednesday,Thursday,Friday,Saturday
dayset-weekend=Sunday

This also does not work, it is not used. What am I doing wrong? Thanks for your help

I just did a check via the UI and set checkmark for Sunday to be Weekend only.
In a rule I check todays date for weekend. Afterwards I changed Weekend to be on Saturday, Sunday.
The result is:
2021-03-27 10:56:50.777 [WARN ] [org.openhab.core.model.script.Rules ] - false
2021-03-27 10:57:00.787 [WARN ] [org.openhab.core.model.script.Rules ] - true

The rule’s content is:

logWarn("Rules", Ephemeris.isWeekend(new DateTimeType().zonedDateTime.plusDays(0)).toString())

I have found it does not work either.

I just wrote my own weekday and weekend rules.

If you just want to run something on Sunday:

Just have the day of the week equal to 0 in the weekend rule in the link I sent earlier.

Even easier if you want to run something on Sunday only use the cron builder.

Thanks for your good ideas. There are always different ways to do something, but the existing problem is not solved.

There is an ephemeris action that does not work properly in OH3 (In my opinion)
The presets in the Main UI are deleted/changed after a restart, and the ephermeris.cfg does not work.

Do you see any log entry when starting the system referring to ephemeris?
Did you file an isssue report on github in order to make your observation known to the maintainers?

There is no log entry. I changed to log:set TRACE org.openhab.core.ephemeris and there is still no log entry.

Before reboot /var/lib/openhab/config/org/openhab/ephemeris.config is looking like this:
:org.apache.felix.configadmin.revision:=L"28"
country=“de”
dayset-school=(
“MONDAY”,
“TUESDAY”,
“WEDNESDAY”,
“THURSDAY”,
“FRIDAY”,
)
dayset-weekend=(
“SUNDAY”,
)
dayset-workday=“Monday,Tuesday,Wednesday,Thursday,Friday,Saturday”
region=“nw”
service.pid=“org.openhab.ephemeris”

After reboot there is no entry for Weekend Days in the Main UI and ephemeris.config changed to:
:org.apache.felix.configadmin.revision:=L"30"
country=“de”
dayset-school=(
“MONDAY”,
“TUESDAY”,
“WEDNESDAY”,
“THURSDAY”,
“FRIDAY”,
)
dayset-weekend=“Sunday”
dayset-workday=“Monday,Tuesday,Wednesday,Thursday,Friday,Saturday”
region=“nw”
service.pid=“org.openhab.ephemeris”

The dayset-weekend part changed.

File /etc/openhab/services/ephemeris.cfg is not changing
country=de
dayset-workday=Monday,Tuesday,Wednesday,Thursday,Friday,Saturday
dayset-weekend=Sunday

I did not file an issue report until now.