Bug in schedule() which causes schedules to never fire again

Well… err… The thing that was plugged into it was fine, and has been for years, so I’m not sure who else there is to blame…

Was it a SmartThings socket? If that is the case, then maybe.