Fixed a bug in scheduler.py that cause the zones to come on and never turn off.