sensord: check if the event value is a valid number