Thanks again! Just to quickly fix the loose ends, not that it is important anyhow :)
Have you looked at HMCalendarEvent?
Thanks, I do use those elsewhere (and so far, I haste to add, they work without a glitch). In this particular case though the problem was that these triggers happen to have more complicated events to fire on; they just should be skipped/ignored unless on one of a set of particular dates.
Meantime, I've found another solution (essentially, my HK application checks daily the current state, and changes the triggers programmatically when one of the important dates is less than a week in future; this way, recurrence can be used instead of a predicate, and the danger of my app not being able to check/fix the triggers at least once in the week is very low).
... For example, what should happen if an event fires “every two hours” when daylight saving time starts and stops? Similarly, scheduling yearly events in terms of day counts means that leap years shift the day every four years ... HomeKit handles the firing of these events by periodically processing the entire event set, determining what will fire “in the future,” and then triggering when the time arrives ...
That's why I don't speak of calendar (nor any other) events, but just of the calendar-based predicates.
Whilst the former indeed might affect a pretty complex logic of determining when to fire and when not, the latter seem to me very easy to implement, and without any potential drawback: when the trigger does fire (as determined through its events, as they are, without any potential extension), only then the current timestamp is checked against the calendar predicate. It fits all the fields, the scene is run (and end events are activated). It does not fit one of the fields, the scene is not run (and end events are ignored). Nothing else needed; especially there is absolutely no need to check the predicate anyhow unless/until the event actually fires.
And here I really can't see why and how checking all the date component fields (even including those rarely used ones like the era; but at the very least also the year, month, and day) could be really more difficult or processing-heavy than checking just the hour and minute, as happens now. I am willing to bet that checking the characteristic-based predicates is both implementation- and runtime-wise very considerably harder.
Do I blindly overlook something of importance here?
Anyway, thanks again a lot!