fix HEM example Kwh/d reset as midnight issue