Thought someone might find this useful (it is based on the work from another kiwi user, @john, on the openHAB forums). I am using this script via a cronjob which runs each night at 12.01am. It checks if *today* is a holiday and updates an openHAB item (via the REST API). I can then use this item in my various automation rules to ensure the morning wakeup alarm doesn't go off etc.
Actually, I can't work out how to post a code snippet in here. Does the forum support pre-formatted code blocks?
I don't want to post the script as text as all the indentation gets lost.
If anyone is interested drop a line on this thread or PM me and I can email it to you.
