double kwh = kw * hourFraction;
_log.trace("watts: " + watts + " seconds: " + seconds + " hour fraction: " + hourFraction + " kwh: " + kwh);
_log.debug("Date: " + dateString + " Watts: " + watts + " kwh: " + kwh);
PowerEvent event = new PowerEvent(lastDate, recordedDate, kwh);
events.add(event);
}
lastDate = recordedDate;