Many thanks for your enormous help.

It worked fine, but I woke to over 700 e-mails telling me that the stats were missing


For anyone else thinking of using this script, I have a multi-switch with Off|Heating|Hot Water|Holiday with timers. This also serves as a manual over-ride.
Then a dummy switch called "Heating" which the script uses to determine if I want heat before it allows any other condition to turn on the "CH_Switch" for the boiler.
If the multi-switch is set to "Hot Water", the "Heating" dummy is turned off and "HW_Switch" is turned on.
The "MissingDevicesTime" is useful as I ignored it over summer and a wall stat battery died... leaked... killed the stat

However, if a set-point hasn't been updated within "MissingDevicesTime" ie 3600s it sees it as not updating and will e-mail you.
My initial cure for this is to a) double the time to 2hrs (7200s) and b) introduce some kind of "jitter" into the set-points. I believe there is a script for this that pops the setting up/down 1/2 deg every 30mins or so. I'll probably start by dropping and raising my temps every hour until the correct solution presents itself.
If anyone is interested, I'm thinking of putting a wiki page together so that the hard work of Westcott



Thanks to all that have helped




Sean