Economy Rate Timer gone wrong

Last night i tried to add an old 3in1 i wasn’t using. It all went wrong for some reason, but 3 resets later and a number of restores from back up and i thought i was back up and running, except for this one PLEG.

I have certain times of the day when the electricity rate is cheaper, so i have a vSwitch to tell Vera when this is.
The report is added.

It seem the schedules aren’t triggering. 2 time periods are true, when neither of them should be. Any ideas?