error rate for sensors
return interval & error rate in sensors.get api
sensors.all api
minor change
minor change
do not update sensor if interval is none
refactor tests